aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-05 19:36:25 -0500
committerJack Nagel2014-07-05 19:36:25 -0500
commitcde41224a209be09adc0e523544e156dcdfbe81d (patch)
tree8339b2838093848df8e50bc2082f9c1b356fa7ed /Library
parent64744646e9be93dd758ca5cf202c6605accf4deb (diff)
downloadhomebrew-cde41224a209be09adc0e523544e156dcdfbe81d.tar.bz2
brew-pull: fix --install
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 1f9ace776..975ba9164 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -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