diff options
author | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-04-04 18:25:09 +0200 |
---|---|---|
committer | Sigmund Vik <sigmund_vik@yahoo.com> | 2012-04-04 18:25:09 +0200 |
commit | 5600f6c264e081abfccc232633e356ee34b5a2d1 (patch) | |
tree | 2d6c30a3e348405b2c95fdd6d9c2ab40efbcae82 | |
parent | d8d7cc8e8a1f9571ad19a131c7dafbc499065cb4 (diff) |
Fixed shlex.split() problem for Windows.
-rwxr-xr-x | emcc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1044,8 +1044,9 @@ try: if js_transform: shutil.copyfile(final, final + '.tr.js') final += '.tr.js' + posix = True if not shared.WINDOWS else False if DEBUG: print >> sys.stderr, 'emcc: applying transform: %s' % js_transform - execute(shlex.split(js_transform) + [os.path.abspath(final)]) + execute(shlex.split(js_transform, posix=posix) + [os.path.abspath(final)]) if DEBUG: save_intermediate('transformed') # It is useful to run several js optimizer passes together, to save on unneeded unparsing/reparsing |