Skip to content

Commit

Permalink
Exclude msys from path fix function. (#1078)
Browse files Browse the repository at this point in the history
Fixes: #911
  • Loading branch information
5cript authored Jul 24, 2022
1 parent 71b737e commit 5ad3ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emsdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def untargz(source_filename, dest_dir):
# See https://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath and http://stackoverflow.com/questions/3555527/python-win32-filename-length-workaround
# In that mode, forward slashes cannot be used as delimiters.
def fix_potentially_long_windows_pathname(pathname):
if not WINDOWS:
if not WINDOWS or MSYS:
return pathname
# Test if emsdk calls fix_potentially_long_windows_pathname() with long
# relative paths (which is problematic)
Expand Down

0 comments on commit 5ad3ff0

Please sign in to comment.