diff options
| author | Jack Nagel | 2014-05-01 21:33:36 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-05-01 21:33:36 -0500 | 
| commit | ebb0c2f056ecf5b10cc26d2532991aba8d36428f (patch) | |
| tree | b6a1fc59d7ed8030f4f27917b23c7f48484a87d2 /install | |
| parent | b0d13d479907fcdb4726f687c40cd7cb307de774 (diff) | |
| download | homebrew-ebb0c2f056ecf5b10cc26d2532991aba8d36428f.tar.bz2 | |
Installer should run warning-free
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -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 | 
