Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update both asset mtime and atime with touch #368

Merged
merged 1 commit into from Apr 2, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -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