Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prevent incorrects symlinks for symfony projects that have theirs sha…

…red_dir (cache, logs, web/upload) in their repository
  • Loading branch information...
commit 9b924436e1bbba5ae0408ce9cd0797b12f1dc898 1 parent 4059a70
@arlo arlo authored committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/capifony.rb
View
1  lib/capifony.rb
@@ -50,6 +50,7 @@ def load_database_config(data, env = 'prod')
task :create_dirs do
if shared_children
shared_children.each do |link|
+ run "test -d #{release_path}/#{link} && rm -rf #{release_path}/#{link}"
run "mkdir -p #{shared_path}/#{link}"
run "ln -nfs #{shared_path}/#{link} #{release_path}/#{link}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.