commit | 50df5a2983d1b793f189c674ad588d8df5f9b2f4 | [log] [tgz] |
---|---|---|
author | Diego Casorran <diegocr@users.noreply.github.com> | Wed Feb 12 22:01:50 2020 +0000 |
committer | GitHub <noreply@github.com> | Wed Feb 12 14:01:50 2020 -0800 |
tree | d4b1d2638795ff9be71ccec2622f4762da3ba823 | |
parent | 573278be0957cf1b76fe69c5c16324251369448a [diff] |
Fix ZIP extraction on Windows. (#438) Meant to resolve #412 (comment)
diff --git a/emsdk.py b/emsdk.py index d460e3d..19b733c 100755 --- a/emsdk.py +++ b/emsdk.py
@@ -555,7 +555,7 @@ unzip_to_dir = dest_dir if common_subdir: - unzip_to_dir = os.path.join('/'.join(dest_dir.split('/')[:-1]), 'unzip_temp') + unzip_to_dir = os.path.join(os.path.dirname(dest_dir), 'unzip_temp') # Now do the actual decompress. for member in zf.infolist():