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:
parent
3976e2d15d
commit
f385a3e3da
@ -220,7 +220,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
if Rails.env == 'development'
|
if Rails.env == 'development'
|
||||||
# Capture stderr when running in dev environment
|
# 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
|
end
|
||||||
begin
|
begin
|
||||||
if RUBY_VERSION < '1.9'
|
if RUBY_VERSION < '1.9'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user