diff options
| author | Jack Nagel | 2013-11-17 22:06:00 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-17 22:57:16 -0600 |
| commit | be8e61079df8fd771ed01398be9419b6d9e59abf (patch) | |
| tree | e2b541459367971d1b489688e93c3a6de69777f3 /Library/ENV | |
| parent | 9bc23fd620400b49880d0eba4744e259e54fde2b (diff) | |
| download | homebrew-be8e61079df8fd771ed01398be9419b6d9e59abf.tar.bz2 | |
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 #24418.
Diffstat (limited to 'Library/ENV')
| -rw-r--r-- | Library/ENV/libsuperenv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
