Permalink
Browse files

Fix from customer.

  • Loading branch information...
1 parent 699dff9 commit c4b767c3762ce0f6f6a2654be23d528ff83b63b3 @dylanegan dylanegan committed Aug 22, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb
@@ -30,7 +30,7 @@ def repository_cache
def update_repository_cache
logger.trace "checking if the cached copy repository root matches this deploy, then updating it"
- command = "if [ -d #{repository_cache} ] && ! echo '#{configuration[:repository]}' | egrep -q \"^`svn info #{repository_cache} | grep 'Repository Root' | awk '{print $3}'`\"; then " +
+ command = "if [ -d #{repository_cache} ] && ! echo '#{configuration[:repository]}' | grep -q `svn info #{repository_cache} | grep 'Repository Root' | awk '{print $3}'`; then " +
"rm -rf #{repository_cache} && #{source.checkout(revision, repository_cache)}; " +
"elif [ -d #{repository_cache} ]; then #{source.sync(revision, repository_cache)}; " +
"else #{source.checkout(revision, repository_cache)}; fi"

0 comments on commit c4b767c

Please sign in to comment.