From 0a27f041d03ff1196156eecc2ccfc9db05d1840c Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 13 Jan 2010 09:02:42 +0000 Subject: Print quotes around executed arguments with spaces Eg: ['foo', 'bar la'] -> "foo 'bar la'" --- Library/Homebrew/global.rb | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index ce79da2ec..92513294f 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -61,11 +61,23 @@ HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY class ExecutionError