Skip to content

Commit c834ef3

Browse files
committed
Merge pull request #426 from wicol/master
Let pipe lessc output to outfile rather than providing outfile arg due to lessc bug
2 parents 715e8ca + 6179583 commit c834ef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pipeline/compilers/less.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ def match_file(self, filename):
1313
return filename.endswith('.less')
1414

1515
def compile_file(self, infile, outfile, outdated=False, force=False):
16-
command = "%s %s %s %s" % (
16+
# Pipe to file rather than provide outfile arg due to a bug in lessc
17+
command = "%s %s %s > %s" % (
1718
settings.PIPELINE_LESS_BINARY,
1819
settings.PIPELINE_LESS_ARGUMENTS,
1920
infile,

0 commit comments

Comments
 (0)