diff options
| author | Mike McQuaid | 2016-10-15 17:52:54 +0100 |
|---|---|---|
| committer | GitHub | 2016-10-15 17:52:54 +0100 |
| commit | 7ac90613fd5a9719a03e180947522bfd4a8790be (patch) | |
| tree | 56a92f5e8ea57ee0a19e0172f0e625be96d05581 /Library/Homebrew/dev-cmd | |
| parent | c233cacaf283a42940bdf3f607d82dab07d746a4 (diff) | |
| parent | c7fde5ddc98b1c605d55be87a68648640a842281 (diff) | |
| download | brew-7ac90613fd5a9719a03e180947522bfd4a8790be.tar.bz2 | |
Merge pull request #1290 from maxnordlund/patch-1
Fix wrong ordering on when clauses in audit.rb
Diffstat (limited to 'Library/Homebrew/dev-cmd')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index bfe56302e..c2a8fb450 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -408,14 +408,13 @@ class FormulaAuditor EOS when "open-mpi", "mpich" problem <<-EOS.undent - when *BUILD_TIME_DEPS - next if dep.build? || dep.run? - problem <<-EOS.undent There are multiple conflicting ways to install MPI. Use an MPIRequirement: depends_on :mpi => [<lang list>] Where <lang list> is a comma delimited list that can include: :cc, :cxx, :f77, :f90 EOS + when *BUILD_TIME_DEPS + next if dep.build? || dep.run? end end end |
