aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-27 14:26:56 -0500
committerJack Nagel2014-12-27 14:26:56 -0500
commit77a1c6f1661b188b5f2acaca0db1bbf4eb7c6262 (patch)
treefa52b99ace79bf055490390e27f814f3308612e3 /Library/Homebrew/formula_installer.rb
parentb43876d4a2369f3d12f0b0c169eb671c668aa0f2 (diff)
downloadbrew-77a1c6f1661b188b5f2acaca0db1bbf4eb7c6262.tar.bz2
One less external call to #active_spec
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 7cca75076..3515c66de 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -154,7 +154,7 @@ class FormulaInstaller
raise "Unrecognized architecture for --bottle-arch: #{arch}"
end
- formula.active_spec.deprecated_flags.each do |deprecated_option|
+ formula.deprecated_flags.each do |deprecated_option|
old_flag = deprecated_option.old_flag
new_flag = deprecated_option.current_flag
opoo "#{formula.name}: #{old_flag} was deprecated; using #{new_flag} instead!"