Don't use Shellwords.shellescape.

It's not portable to old Rubies, and we don't really need it anyway.
This commit is contained in:
Nathan Weizenbaum 2010-09-29 11:03:59 -07:00
parent 320cf7ae0a
commit 6509162d17
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ task :permissions do
require 'shellwords'
Dir.glob('test/**/*_test.rb') do |file|
next if file =~ %r{^test/haml/spec/}
sh %{chmod a+rx #{Shellwords.shellescape file}}
sh %{chmod a+rx #{file}}
end
end