diff options
| author | Max Howell | 2009-12-04 17:48:07 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-04 18:16:32 +0000 |
| commit | 7bce70ec5bea95e20101b3a056d5af1ff872cd0c (patch) | |
| tree | 362e25a897e43d080f1c275c8523d944f35fe82e /Library | |
| parent | cbd7ff972c52ebcbe87f03040fa606b1b2c1c706 (diff) | |
| download | homebrew-7bce70ec5bea95e20101b3a056d5af1ff872cd0c.tar.bz2 | |
Apparently the map didn't work on Leopard
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 5fd8fde5b..404873e60 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -88,7 +88,8 @@ end def safe_system cmd, *args puts "#{cmd} #{args*' '}" if ARGV.verbose? fork do - exec(cmd, *args.map(&:to_s)) rescue nil + args.collect!{|arg| arg.to_s} + exec(cmd, *args) rescue nil exit! 1 # never gets here unless exec failed end Process.wait |
