mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Don't shellescape latest_release. It can be nil during --dry-run
This commit is contained in:
parent
1d392aa1e5
commit
ef1c3a6fd8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace :deploy do
|
|||
DESC
|
||||
task :precompile, :roles => assets_role, :except => { :no_release => true } do
|
||||
run <<-CMD.compact
|
||||
cd -- #{latest_release.shellescape} &&
|
||||
cd -- #{latest_release} &&
|
||||
#{rake} RAILS_ENV=#{rails_env.to_s.shellescape} #{asset_env} assets:precompile &&
|
||||
cp -- #{shared_path.shellescape}/assets/manifest.yml #{current_release.shellescape}/assets_manifest.yml
|
||||
CMD
|
||||
|
|
Loading…
Reference in a new issue