From b908c0d024b5942d96b91dc79dc0e5cf2c5d3128 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 8 May 2012 01:11:58 -0500 Subject: [PATCH] postgis: use buildpath instead of Dir.getwd Signed-off-by: Jack Nagel --- Formula/postgis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/postgis.rb b/Formula/postgis.rb index a5da0e7266..1f93011bf6 100644 --- a/Formula/postgis.rb +++ b/Formula/postgis.rb @@ -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