wal2json: use HOMEBREW_PREFIX (#45675)

This commit is contained in:
Dawid Dziurla 2019-10-27 09:47:45 +01:00 committed by FX Coudert
parent 6fb51e1da2
commit 29e4cdfdac

View file

@ -16,7 +16,7 @@ class Wal2json < Formula
def install
mkdir "stage"
system "make", "install", "USE_PGXS=1", "DESTDIR=#{buildpath}/stage"
lib.install Dir["stage/**/lib/*"]
lib.install Dir["stage/#{HOMEBREW_PREFIX}/lib/*"]
end
test do