Skip to content
Browse files

Merge pull request #368 from wildoats/master

Update both asset mtime and atime with touch
  • Loading branch information...
2 parents fd9d9ba + bd56f33 commit b6400ca79e30d3460162dd0b4c37cfdac068d219 @leehambley leehambley committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/recipes/deploy/assets.rb
View
2 lib/capistrano/recipes/deploy/assets.rb
@@ -66,7 +66,7 @@
put current_assets.map{|a| "#{shared_path}/assets/#{a}" }.join("\n"), "#{deploy_to}/TOUCH_ASSETS", via: :scp
run <<-CMD.compact
cat #{deploy_to.shellescape}/TOUCH_ASSETS | while read asset; do
- touch -cm -- "$asset";
+ touch -c -- "$asset";
done &&
rm -f -- #{deploy_to.shellescape}/TOUCH_ASSETS
CMD

0 comments on commit b6400ca

Please sign in to comment.
Something went wrong with that request. Please try again.