Handle spaces in development scm stderr log file path.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8129 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip 2011-12-08 19:22:00 +00:00
parent 3976e2d15d
commit f385a3e3da
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ module Redmine
end
if Rails.env == 'development'
# Capture stderr when running in dev environment
cmd = "#{cmd} 2>>#{Rails.root}/log/scm.stderr.log"
cmd = "#{cmd} 2>>#{shell_quote(Rails.root.join('log/scm.stderr.log').to_s)}"
end
begin
if RUBY_VERSION < '1.9'