Commit c834ef35 by Timothée Peignier

Merge pull request #426 from wicol/master

Let pipe lessc output to outfile rather than providing outfile arg due to lessc bug
parents 715e8ca1 61795833
...@@ -13,7 +13,8 @@ class LessCompiler(SubProcessCompiler): ...@@ -13,7 +13,8 @@ class LessCompiler(SubProcessCompiler):
return filename.endswith('.less') return filename.endswith('.less')
def compile_file(self, infile, outfile, outdated=False, force=False): def compile_file(self, infile, outfile, outdated=False, force=False):
command = "%s %s %s %s" % ( # Pipe to file rather than provide outfile arg due to a bug in lessc
command = "%s %s %s > %s" % (
settings.PIPELINE_LESS_BINARY, settings.PIPELINE_LESS_BINARY,
settings.PIPELINE_LESS_ARGUMENTS, settings.PIPELINE_LESS_ARGUMENTS,
infile, infile,
......
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