Skip to content

Commit

Permalink
Merge pull request #14 from kenjiszk/add_cp_option
Browse files Browse the repository at this point in the history
add T option
  • Loading branch information
rhomeister committed Dec 31, 2015
2 parents abdae58 + 10fda59 commit 9fde06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/faster_assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace :deploy do
info("Skipping asset precompile, no asset diff found")

# copy over all of the assets from the last release
execute(:cp, '-r', latest_release_path.join('public', fetch(:assets_prefix)), release_path.join('public', fetch(:assets_prefix)))
execute(:cp, '-rT', latest_release_path.join('public', fetch(:assets_prefix)), release_path.join('public', fetch(:assets_prefix)))
rescue PrecompileRequired
execute(:rake, "assets:precompile")
end
Expand Down

0 comments on commit 9fde06b

Please sign in to comment.