aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2011-08-06 12:02:55 +0100
committerMax Howell2012-03-09 12:10:49 +0000
commitc1568ab27746d993ec2d25276c625e42297d7555 (patch)
tree15bf535f6cdc6caa660c0def064b3094258e07a6
parentab66113f0bac341b161bdb28c80bb1575093e744 (diff)
downloadbrew-c1568ab27746d993ec2d25276c625e42297d7555.tar.bz2
Fix install script for Ruby 1.9.x
-rw-r--r--install_homebrew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb
index 88312d750..540c7e0f2 100644
--- a/install_homebrew.rb
+++ b/install_homebrew.rb
@@ -36,7 +36,7 @@ def sudo *args
args = if args.length > 1
args.unshift "/usr/bin/sudo"
else
- "/usr/bin/sudo #{args}"
+ "/usr/bin/sudo #{args.first}"
end
ohai *args
system *args