Skip to content

Commit

Permalink
fixed bad instruction (fails on some servers)
Browse files Browse the repository at this point in the history
  • Loading branch information
everzet committed Jun 11, 2010
1 parent c088753 commit 93154ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capifony.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +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 "if [ -d #{release_path}/#{link} ] ; then rm -rf #{release_path}/#{link}; fi"
run "mkdir -p #{shared_path}/#{link}"
run "ln -nfs #{shared_path}/#{link} #{release_path}/#{link}"
end
Expand Down

0 comments on commit 93154ab

Please sign in to comment.