aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMax Nordlund2016-10-15 18:31:06 +0200
committerGitHub2016-10-15 18:31:06 +0200
commitc7fde5ddc98b1c605d55be87a68648640a842281 (patch)
tree57b64bb47ef0a09b5f51cc7392de577513d179cd /Library/Homebrew/dev-cmd
parentd9242c540d82ec25019896a043410dd07b831609 (diff)
downloadbrew-c7fde5ddc98b1c605d55be87a68648640a842281.tar.bz2
Fix when clause ordering.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index d5ab9ca8f..c2a8fb450 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -406,8 +406,6 @@ class FormulaAuditor
depends_on :ruby => "1.8"
where "1.8" is the minimum version of Ruby required.
EOS
- 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:
@@ -415,6 +413,8 @@ class FormulaAuditor
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