brew-pull: fix --install

This commit is contained in:
Jack Nagel 2014-07-05 19:36:25 -05:00
parent 9c757d6ee2
commit 32d8574d8c

View File

@ -134,9 +134,9 @@ ARGV.named.each do |arg|
if ARGV.include? '--install'
changed_formulae.each do |f|
ohai "Installing #{formula}"
ohai "Installing #{f.name}"
install = f.installed? ? 'upgrade' : 'install'
safe_system 'brew', install, '--debug', formula
safe_system 'brew', install, '--debug', f.name
end
end
end