Permalink
Browse files

Changing symlink to refer to the release path instead of the current …

…path - much more reliable. Thanks to Jason Stirk for the suggestion.
  • Loading branch information...
1 parent 92bd149 commit 4bad2d5560e1868d771c41fda3f7ffc0a4489b6d @pat pat committed Jul 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 ts/en/deployment.textile
View
@@ -54,7 +54,7 @@ task :after_update_code, :roles => [:app] do
end
task :symlink_sphinx_indexes, :roles => [:app] do
- run "ln -nfs #{shared_path}/db/sphinx #{current_path}/db/sphinx"
+ run "ln -nfs #{shared_path}/db/sphinx #{release_path}/db/sphinx"
end
{%endhighlight%}

0 comments on commit 4bad2d5

Please sign in to comment.