diff options
| author | Adam Vandenberg | 2011-03-14 13:30:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-14 13:30:46 -0700 |
| commit | c6e069bfe5df0e2563b50ca1b89a8d9166ce05b9 (patch) | |
| tree | 52c24bf5cef3b2067f3a5f226bea1773a4388ad3 /Library | |
| parent | 80886ff34a979e6aae3b0b04571230761c227109 (diff) | |
| download | brew-c6e069bfe5df0e2563b50ca1b89a8d9166ce05b9.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 |
