From 1e083ac06196052f489b8e07f8769197b9621fa3 Mon Sep 17 00:00:00 2001 From: Sudara Date: Wed, 10 Mar 2010 01:36:12 +0100 Subject: [PATCH] Adjust before_symlink hook --- deploy/before_symlink.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/before_symlink.rb b/deploy/before_symlink.rb index 91a946b855..5a997f47ed 100644 --- a/deploy/before_symlink.rb +++ b/deploy/before_symlink.rb @@ -1,5 +1,5 @@ # A hook to get all our config in the right place ['alonetone.yml','database.yml','amazon_s3.yml','defensio.yml', 'newrelic.yml'].each do |config_file| - run "echo 'release_path: #{release_path}/config/#{config_file}' >> #{shared_path}/#{config_file}" - run "ln -nfs #{shared_path}/shared/config/#{config_file} #{release_path}/shared/#{config_file}" + run "echo 'release_path: #{release_path}/config/#{config_file}' >> #{shared_path}/config/#{config_file}" + run "ln -nfs #{shared_path}/config/#{config_file} #{release_path}/config/#{config_file}" end \ No newline at end of file