From 33dc50cb2b344d5e08047b7ac26ceea2db723b84 Mon Sep 17 00:00:00 2001 From: stonebig Date: Sat, 4 Dec 2021 17:34:07 +0100 Subject: [PATCH] another workaround on DOS try to fix https://github.com/winpython/winpython/issues/1039 --- make.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make.py b/make.py index a674c81e..d4c111d6 100644 --- a/make.py +++ b/make.py @@ -1378,7 +1378,8 @@ def _create_batch_scripts_initial(self): rem if it it launched from another directory , we keep it that one echo %__CD__% if not "%__CD__%\"=="%~dp0" set WINPYWORKDIR1="%__CD__%" ) - +rem remove potential doublequote +set WINPYWORKDIR1=%WINPYWORKDIR1:"=% rem remove some potential last \ if "%WINPYWORKDIR1:~-1%"=="\" set WINPYWORKDIR1=%WINPYWORKDIR1:~0,-1%