aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 5673c898a..398f14413 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -61,11 +61,11 @@ class Formula
def determine_active_spec
case
- when head && ARGV.build_head? then head # --HEAD
- when devel && ARGV.build_devel? then devel # --devel
- when stable then stable
- when devel && stable.nil? then devel # devel-only
- when head && stable.nil? then head # head-only
+ when head && ARGV.build_head? then head # --HEAD
+ when devel && ARGV.build_devel? then devel # --devel
+ when stable then stable
+ when devel then devel
+ when head then head # head-only
else
raise FormulaSpecificationError, "formulae require at least a URL"
end