Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update both asset mtime and atime with touch

  • Loading branch information...
commit bd56f33c750952770d717537d9652c6ca8e74f45 1 parent ea5b03b
Jan Ulrich authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/capistrano/recipes/deploy/assets.rb
2  lib/capistrano/recipes/deploy/assets.rb
@@ -66,7 +66,7 @@
66 66 put current_assets.map{|a| "#{shared_path}/assets/#{a}" }.join("\n"), "#{deploy_to}/TOUCH_ASSETS"
67 67 run <<-CMD.compact
68 68 cat #{deploy_to.shellescape}/TOUCH_ASSETS | while read asset; do
69   - touch -cm -- "$asset";
  69 + touch -c -- "$asset";
70 70 done &&
71 71 rm -f -- #{deploy_to.shellescape}/TOUCH_ASSETS
72 72 CMD

0 comments on commit bd56f33

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