Stop wrapping the filename by double quotes; ref #4440

parent 8d37a357
...@@ -255,7 +255,7 @@ EOS ...@@ -255,7 +255,7 @@ EOS
if name.is_a?(Array) if name.is_a?(Array)
name.flatten.map { |n| filename(n) } name.flatten.map { |n| filename(n) }
else else
'"%s"' % name.gsub('/', file_separator) name.gsub('/', file_separator)
end end
end end
...@@ -263,7 +263,7 @@ EOS ...@@ -263,7 +263,7 @@ EOS
if name.is_a?(Array) if name.is_a?(Array)
name.flatten.map { |n| cygwin_filename(n) } name.flatten.map { |n| cygwin_filename(n) }
else else
'"%s"' % `cygpath -w "#{filename(name)}"`.strip `cygpath -w "#{filename(name)}"`.strip
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment