Skip to content

Commit

Permalink
use the current_path as the release_path is not available when runnin…
Browse files Browse the repository at this point in the history
…g the task independently
  • Loading branch information
nigelramsay committed Apr 16, 2012
1 parent 08390d2 commit 632854f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/easy/deployment/capistrano.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
namespace :web do
desc "Configure this site & Reload the apache configuration"
task :configure do
run "cp -f #{release_path}/config/deploy/#{stage}/apache/* /etc/apache2/sites-enabled/"
run "cp -f #{current_path}/config/deploy/#{stage}/apache/* /etc/apache2/sites-enabled/"
run "sudo apache2ctl -k graceful"
end
end
Expand Down

0 comments on commit 632854f

Please sign in to comment.