1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Use single quotes to escape semicolon in find command, instead of a backslash

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-06-25 15:47:50 +00:00
parent 13aa40a5f6
commit 6f2d6282b0
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Use single quotes to escape semicolon in find command, instead of a backslash [via michael.italia@gmail.com]
* Better quoting of reserved characters in commands [Jamis Buck]
* Make sure Net::SSH versions prior to 1.1.0 still work [Jamis Buck]

View file

@ -167,7 +167,7 @@ namespace :deploy do
stamp = Time.now.utc.strftime("%Y%m%d%H%M.%S")
asset_paths = %w(images stylesheets javascripts).map { |p| "#{latest_release}/public/#{p}" }.join(" ")
run "find #{asset_paths} -exec touch -t #{stamp} {} \\;; true", :env => { "TZ" => "UTC" }
run "find #{asset_paths} -exec touch -t #{stamp} {} ';'; true", :env => { "TZ" => "UTC" }
end
desc <<-DESC