diff options
| author | Jack Nagel | 2014-08-23 17:42:13 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-23 17:42:13 -0500 |
| commit | 05bb612ce71c9d16346a7ac95a578c33ed055cb8 (patch) | |
| tree | 5575c1c9f2c24fc1dce56dcef07f29b3c1d00135 /Library | |
| parent | 3a96a1a594d688225675d0b9bd7f90fd4669b7a5 (diff) | |
| download | brew-05bb612ce71c9d16346a7ac95a578c33ed055cb8.tar.bz2 | |
Use opt_prefix instead of constructing it manually
Diffstat (limited to 'Library')
| -rw-r--r-- | 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 2d4674851..d3adf80de 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -108,8 +108,7 @@ class Build keg_only_deps = deps.map(&:to_formula).select(&:keg_only?) deps.map(&:to_formula).each do |dep| - opt = HOMEBREW_PREFIX.join("opt", dep.name) - fixopt(dep) unless opt.directory? + fixopt(dep) unless dep.opt_prefix.directory? end pre_superenv_hacks |
