diff options
| author | Adam Vandenberg | 2011-03-14 13:30:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-14 13:30:46 -0700 |
| commit | 054822421351441a45aa290cced70e2cc005e2df (patch) | |
| tree | a5564e08bc1c34ce009447aa6f4aaef69ae4ec34 /Library | |
| parent | 7e499f5832e01f502ca082e8a09306b5996f9f2d (diff) | |
| download | homebrew-054822421351441a45aa290cced70e2cc005e2df.tar.bz2 | |
Fix bug in reporting curl errors
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 8297ff08a..fa08f8759 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -78,7 +78,7 @@ end # Kernel.system but with exceptions def safe_system cmd, *args unless Homebrew.system cmd, *args - args = args.map{ |arg| arg.gsub " ", "\\ " } * " " + args = args.map{ |arg| arg.to_s.gsub " ", "\\ " } * " " raise "Failure while executing: #{cmd} #{args}" end end |
