postgis: use buildpath instead of Dir.getwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
50cb7df7d5
commit
b908c0d024
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class Postgis < Formula
|
|||
# install everything to a staging directory and manually move the pieces
|
||||
# into the appropriate prefixes.
|
||||
mkdir 'stage'
|
||||
system 'make', 'install', "DESTDIR=#{Dir.getwd}/stage"
|
||||
system 'make', 'install', "DESTDIR=#{buildpath}/stage"
|
||||
|
||||
# Install PostGIS plugin libraries into the Postgres keg so that they can
|
||||
# be loaded and so PostGIS databases will continue to function even if
|
||||
|
|
Loading…
Reference in a new issue