brew-test-bot: fix logs in spaced directories.

This commit is contained in:
Mike McQuaid 2013-06-29 01:31:01 +01:00
parent 6d41707b2b
commit 9497d2f741

View File

@ -76,7 +76,7 @@ class Step
puts_command
start_time = Time.now
run_command = "#{@command} &>#{log_file_path}"
run_command = "#{@command} &>'#{log_file_path}'"
if run_command.start_with? 'git '
Dir.chdir @repository do
`#{run_command}`