Skip to content

Commit 5ad3ff0

Browse files
authored
Exclude msys from path fix function. (#1078)
Fixes: #911
1 parent 71b737e commit 5ad3ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emsdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def untargz(source_filename, dest_dir):
527527
# See https://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath and http://stackoverflow.com/questions/3555527/python-win32-filename-length-workaround
528528
# In that mode, forward slashes cannot be used as delimiters.
529529
def fix_potentially_long_windows_pathname(pathname):
530-
if not WINDOWS:
530+
if not WINDOWS or MSYS:
531531
return pathname
532532
# Test if emsdk calls fix_potentially_long_windows_pathname() with long
533533
# relative paths (which is problematic)

0 commit comments

Comments
 (0)