aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMax Nordlund2016-10-14 23:05:34 +0200
committerGitHub2016-10-14 23:05:34 +0200
commitd9242c540d82ec25019896a043410dd07b831609 (patch)
treea7ab1fff2c109e98bcd0496d1d7d304dccb68d5d /Library/Homebrew/dev-cmd
parentac50ffc82d2590eed8d666464a7b0213e3db00d7 (diff)
downloadbrew-d9242c540d82ec25019896a043410dd07b831609.tar.bz2
Fix wrong ordering on when clauses in audit.rb
It looks like a rebase/merge conflict remmenet.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index bfe56302e..d5ab9ca8f 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -406,10 +406,9 @@ class FormulaAuditor
depends_on :ruby => "1.8"
where "1.8" is the minimum version of Ruby required.
EOS
- when "open-mpi", "mpich"
- problem <<-EOS.undent
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
+ when "open-mpi", "mpich"
problem <<-EOS.undent
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
depends_on :mpi => [<lang list>]