lib/rake/delphi/paclient.rb in rake-delphi-0.0.25 vs lib/rake/delphi/paclient.rb in rake-delphi-0.0.26
- old
+ new
@@ -76,9 +76,10 @@
return '' if @noclean
tempfile = Tempfile.new('paclient')
tempfile.close
tempfile = File.expand_path2(tempfile.path)
tempfile.double_delimiters!
+ tempfile = Rake.quotepath('', tempfile)
output = @dccTask.exeoutput
output += '\\' + @suffix
output.double_delimiters!
output = Rake.quotepath('', output)
return [output, tempfile].join(',')