summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-15 16:29:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-15 16:29:40 +0000
commit6cad86d962afe3ec2fbd5d3fdf14c1dd6cee2085 (patch)
tree8cb488d214e37c01cc21c019b5fde007467ae594
parentce1c6209caf15860a5a3b217ea49e27f16bfe84d (diff)
downloadredmine-6cad86d962afe3ec2fbd5d3fdf14c1dd6cee2085.tar.gz
redmine-6cad86d962afe3ec2fbd5d3fdf14c1dd6cee2085.zip
scm: darcs: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6275 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/redmine/scm/adapters/darcs_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/darcs_adapter.rb b/lib/redmine/scm/adapters/darcs_adapter.rb
index 7b03ac810..bc0dae508 100644
--- a/lib/redmine/scm/adapters/darcs_adapter.rb
+++ b/lib/redmine/scm/adapters/darcs_adapter.rb
@@ -31,7 +31,7 @@ module Redmine
end
def sq_bin
- @@sq_bin ||= shell_quote(DARCS_BIN)
+ @@sq_bin ||= shell_quote_command
end
def client_version