lib/distil/product/minified.rb in distil-0.12.0 vs lib/distil/product/minified.rb in distil-0.12.1
- old
+ new
@@ -15,10 +15,10 @@
def write_output
return if up_to_date
@up_to_date= true
# Run the Y!UI Compressor
- system "java -jar #{COMPRESSOR} #{concatenated_name} -o #{filename}"
+ system "java -jar #{COMPRESSOR} \"#{concatenated_name}\" -o \"#{filename}\""
if 'css'==extension
buffer= File.read(filename)
File.open(filename, "w") { |f|
f.write(buffer.gsub(/\}/,"}\n").gsub(/.*@import url\(\".*\"\);/,''))
\ No newline at end of file