diff options
| author | Jack Nagel | 2013-05-25 15:26:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-25 15:27:10 -0500 |
| commit | c2624cd40e7856295b142161ca108376fb94bdb3 (patch) | |
| tree | e79848b274861865126e1cab7d27f1eaee4ad149 /Library | |
| parent | fec99760d7fb25dbc7dc6d029286f8921c18816a (diff) | |
| download | homebrew-c2624cd40e7856295b142161ca108376fb94bdb3.tar.bz2 | |
build: expand dependencies only once
Closes #20081.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/build.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 6c5550154..e59b5be6a 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -73,8 +73,7 @@ class Build def pre_superenv_hacks # Allow a formula to opt-in to the std environment. - ARGV.unshift '--env=std' if (f.env.std? or - f.recursive_dependencies.detect{|d| d.name == 'scons' }) and + ARGV.unshift '--env=std' if (f.env.std? or deps.any? { |d| d.name == 'scons' }) and not ARGV.include? '--env=super' end |
