[FIX] base: RTLCSS on Windows

RTLCSS is not working on Windows for several reasons:
- the executable is called `rtlcss.cmd`
- rtlcss is not available in the System Path; it is only available in
  the User Path

In this commit, we correct the first issue.

opw-1892952
This commit is contained in:
Nicolas Martinelli
2018-10-17 13:23:08 +00:00
parent 3c11cf926c
commit 177ea3b96d
+2
View File
@@ -525,6 +525,8 @@ class AssetsBundle(object):
def run_rtlcss(self, source):
rtlcss = 'rtlcss'
if os.name == 'nt':
rtlcss = misc.find_in_path('rtlcss.cmd')
cmd = [rtlcss, '-']