aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorChristian Moritz2016-03-28 00:29:48 +0200
committerXu Cheng2016-03-28 18:22:47 +0800
commita87eb23a3b613de803f249aee2c9941f5190aef6 (patch)
treeb486ea73d2073f40ba31698ace2360cc82a9198d /Library/Homebrew
parent6135da800e4f93ded3a5a331d0efa691f4822afb (diff)
downloadbrew-a87eb23a3b613de803f249aee2c9941f5190aef6.tar.bz2
bump-formula-pr: fix typo in spec existence check
Closes Homebrew/homebrew#50472. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dev-cmd/bump-formula-pr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb
index 55ae1ae72..e45aa9398 100644
--- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb
+++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb
@@ -25,7 +25,7 @@ module Homebrew
else
[:stable, formula.stable]
end
- odie "#{formula}: no #{requested_spec} specification found!" unless formula
+ odie "#{formula}: no #{requested_spec} specification found!" unless formula_spec
hash_type, old_hash = if (checksum = formula_spec.checksum)
[checksum.hash_type.to_s, checksum.hexdigest]