aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-05-01 21:33:36 -0500
committerJack Nagel2014-05-01 21:33:36 -0500
commitebb0c2f056ecf5b10cc26d2532991aba8d36428f (patch)
treeb6a1fc59d7ed8030f4f27917b23c7f48484a87d2
parentb0d13d479907fcdb4726f687c40cd7cb307de774 (diff)
downloadhomebrew-ebb0c2f056ecf5b10cc26d2532991aba8d36428f.tar.bz2
Installer should run warning-free
-rwxr-xr-xinstall8
1 files changed, 4 insertions, 4 deletions
diff --git a/install b/install
index ebc4dd4ad..95b134dad 100755
--- a/install
+++ b/install
@@ -32,7 +32,7 @@ def warn warning
end
def system *args
- abort "Failed during: #{args.shell_s}" unless Kernel.system *args
+ abort "Failed during: #{args.shell_s}" unless Kernel.system(*args)
end
def sudo *args
@@ -134,11 +134,11 @@ chgrps = chmods.reject{ |d| File.stat(d).grpowned? }
unless chmods.empty?
ohai "The following directories will be made group writable:"
- puts *chmods
+ puts(*chmods)
end
unless chgrps.empty?
ohai "The following directories will have their group set to #{Tty.underline 39}admin#{Tty.reset}:"
- puts *chgrps
+ puts(*chgrps)
end
wait_for_user if STDIN.tty?
@@ -174,7 +174,7 @@ Dir.chdir HOMEBREW_PREFIX do
args = git, "fetch", "origin", "master:refs/remotes/origin/master", "-n"
args << "--depth=1" if ARGV.include? "--fast"
- system *args
+ system(*args)
system git, "reset", "--hard", "origin/master"
else