From 054822421351441a45aa290cced70e2cc005e2df Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 14 Mar 2011 13:30:46 -0700 Subject: Fix bug in reporting curl errors --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3