Permalink
Browse files

Fix a regression introduced by pull request #237

  • Loading branch information...
1 parent 27603dd commit 6f8fef3f2c2bc8466623a095757e63e19d06f26e @carsomyr carsomyr committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/capistrano/recipes/deploy.rb
@@ -255,8 +255,8 @@ def try_runner(*args)
if fetch(:normalize_asset_timestamps, true)
stamp = Time.now.utc.strftime("%Y%m%d%H%M.%S")
- asset_paths = fetch(:public_children, %w(images stylesheets javascripts)).map { |p| "#{latest_release}/public/#{p}" }.join(" ")
- run("find #{asset_paths} -exec touch -t #{stamp} {} ';'; true", :env => { "TZ" => "UTC" }) if asset_paths.any?
+ asset_paths = fetch(:public_children, %w(images stylesheets javascripts)).map { |p| "#{latest_release}/public/#{p}" }
+ run("find #{asset_paths.join(" ")} -exec touch -t #{stamp} {} ';'; true", :env => { "TZ" => "UTC" }) if asset_paths.any?
end
end

0 comments on commit 6f8fef3

Please sign in to comment.