diff options
| author | Max Howell | 2009-12-04 17:48:07 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-04 18:16:32 +0000 |
| commit | ba1c0af94c52bb8c638aff94f31f084b47f94697 (patch) | |
| tree | ec915c7001c7d80b209f3d012c1e6ad061104254 /Library | |
| parent | 6c123b176d431788702b491ff080d033b3635b22 (diff) | |
| download | brew-ba1c0af94c52bb8c638aff94f31f084b47f94697.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 |
