From 5ad3ff05a79781256e88cde3829c5b0348be861f Mon Sep 17 00:00:00 2001 From: Tim Ebbeke Date: Sun, 24 Jul 2022 06:31:41 +0200 Subject: [PATCH] Exclude msys from path fix function. (#1078) Fixes: #911 --- emsdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emsdk.py b/emsdk.py index 39ff4c5f25..83a0889d1c 100644 --- a/emsdk.py +++ b/emsdk.py @@ -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)