Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

BugFix when deploy symfony 1.4 with user_sudo = true #344

Merged
merged 1 commit into from

2 participants

@jeroig

This is a bugFix in the thask :cc (Clear the cache)

When i try to deploy a project with user_sudo = true, the line

 run "#{try_sudo} sh -c 'cd #{latest_release} && #{try_sudo} #{php_bin} ./symfony cache:clear'"

in clear cache fail, because the 2do #{try_sudo} crash the command line to the call with sudo.

@willdurand willdurand merged commit 1df287d into everzet:master
@willdurand
Collaborator

good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 20, 2013
  1. @jeroig
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/symfony1/symfony.rb
View
2  lib/symfony1/symfony.rb
@@ -17,7 +17,7 @@
desc "Clears the cache"
task :cc do
- run "#{try_sudo} sh -c 'cd #{latest_release} && #{try_sudo} #{php_bin} ./symfony cache:clear'"
+ run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} ./symfony cache:clear'"
run "#{try_sudo} chmod -R g+w #{latest_release}/cache"
end
Something went wrong with that request. Please try again.