Permalink
Browse files

Merge branch 'esad/master'

  • Loading branch information...
2 parents 63f0a2c + b3c0c17 commit 8137d94ed78eacd07ee6bba0a997f50202bb68a7 @jamis jamis committed Nov 7, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/capistrano/recipes/deploy/strategy/base.rb
@@ -51,8 +51,8 @@ def system(*args)
cmd = args.join(' ')
if RUBY_PLATFORM =~ /win32/
cmd.gsub!('/','\\') # Replace / with \\
- cmd.gsub!(/^cd/,'cd /D') # Replace cd with cd /D
- cmd.gsub!(/&& cd/,'&& cd /D') # Replace cd with cd /D
+ cmd.gsub!(/^cd /,'cd /D ') # Replace cd with cd /D
+ cmd.gsub!(/&& cd /,'&& cd /D ') # Replace cd with cd /D
logger.trace "executing locally: #{cmd}"
super(cmd)
else
@@ -76,4 +76,4 @@ def revision
end
end
-end
+end

0 comments on commit 8137d94

Please sign in to comment.