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
commit32d8574d8c20361480e6505d6ee913359c5ae320 (patch)
treeb4b964e0cd15233766b0be35f420f22bab0db696 /Library
parent9c757d6ee25c1acc2be8b74b3d1718456cd0ac9b (diff)
downloadbrew-32d8574d8c20361480e6505d6ee913359c5ae320.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