Skip to content

Commit

Permalink
Merge pull request #426 from wicol/master
Browse files Browse the repository at this point in the history
Let pipe lessc output to outfile rather than providing outfile arg due to lessc bug
  • Loading branch information
cyberdelia committed Feb 13, 2015
2 parents 715e8ca + 6179583 commit c834ef3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline/compilers/less.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def match_file(self, filename):
return filename.endswith('.less')

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_ARGUMENTS,
infile,
Expand Down

0 comments on commit c834ef3

Please sign in to comment.