diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-04 11:00:30 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-04 11:00:30 -0700 |
commit | cc83ccc030c09b065a48baba245c45e1d2e98e66 (patch) | |
tree | 2d6c30a3e348405b2c95fdd6d9c2ab40efbcae82 | |
parent | d8d7cc8e8a1f9571ad19a131c7dafbc499065cb4 (diff) | |
parent | 5600f6c264e081abfccc232633e356ee34b5a2d1 (diff) |
Merge pull request #351 from SiggyBar/windows
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 |