diff options
| author | Jack Nagel | 2013-08-19 12:32:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-19 12:32:56 -0500 |
| commit | bf0e32901076c5397faf4fa34bbab263f3292440 (patch) | |
| tree | c524cf69bad17c15d9ced103c5593e29bc5cd173 /Library/Homebrew/build.rb | |
| parent | a04f1ac3d362e3da38db7aea0bc89ebc55f92478 (diff) | |
| download | brew-bf0e32901076c5397faf4fa34bbab263f3292440.tar.bz2 | |
Make Superenv activation explicit
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rwxr-xr-x | Library/Homebrew/build.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 7d88a74cf..bb4325e5b 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -34,6 +34,7 @@ def main require 'hardware' require 'keg' + require 'superenv' # Force any future invocations of sudo to require the user's password to be # re-entered. This is in-case any build script call sudo. Certainly this is @@ -106,7 +107,8 @@ class Build keg_only_deps = deps.map(&:to_formula).select(&:keg_only?) pre_superenv_hacks - require 'superenv' + + ENV.activate_extensions! deps.map(&:to_formula).each do |dep| opt = HOMEBREW_PREFIX/:opt/dep |
