From c020950a426592cd96aa9225ca8e1c3a7c7ac4cb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 17 Nov 2013 22:06:00 -0600 Subject: Export HOMEBREW_PREFIX to build environment Constructing the path relative to a file in the repository is incorrect on some supported configurations (i.e., the repository is located in a different place than the prefix). Closes Homebrew/homebrew#24418. --- Library/ENV/libsuperenv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/ENV') diff --git a/Library/ENV/libsuperenv.rb b/Library/ENV/libsuperenv.rb index 49c2d7d2e..575783460 100644 --- a/Library/ENV/libsuperenv.rb +++ b/Library/ENV/libsuperenv.rb @@ -25,5 +25,5 @@ class Array end end -$brewfix = "#{__FILE__}/../../../".cleanpath.freeze +$brewfix = ENV['HOMEBREW_PREFIX'].freeze $sdkroot = ENV['HOMEBREW_SDKROOT'].freeze -- cgit v1.2.3