Skip to content
Browse files

Update both asset mtime and atime with touch

  • Loading branch information...
1 parent ea5b03b commit bd56f33c750952770d717537d9652c6ca8e74f45 Jan Ulrich committed Jan 29, 2013
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"
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 bd56f33

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