Permalink
Browse files

Support whitespace in asset filenames when updating mtimes

  • Loading branch information...
1 parent deb4aca commit 468552e13206f3c9d33e23aa26d216e8be117641 @ndbroadbent committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/turbo-sprockets/tasks/assets.rake
@@ -79,7 +79,7 @@ namespace :assets do
if File.exist?(full_path)
# File.utime raises 'Operation not permitted' unless user is owner of file.
# Non-owners have permission to update mtime to the current time using 'touch'.
- `touch #{full_path}`
+ `touch "#{full_path}"`
end
end
end

0 comments on commit 468552e

Please sign in to comment.