We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629f4e4 commit 30f96e9Copy full SHA for 30f96e9
make.py
@@ -1020,7 +1020,7 @@ def _create_batch_scripts_initial(self):
1020
rem get a normalize path
1021
set WINPYDIRBASETMP=%~dp0..
1022
pushd %WINPYDIRBASETMP%
1023
-set WINPYDIRBASE=%CD%
+set WINPYDIRBASE=%__CD__%
1024
set WINPYDIRBASETMP=
1025
popd
1026
@@ -1375,8 +1375,8 @@ def _create_batch_scripts_initial(self):
1375
)
1376
1377
) else (
1378
-rem if it it launched from another directory , we keep it that one echo %CD%
1379
-if not "%CD%\"=="%~dp0" set WINPYWORKDIR1="%CD%"
+rem if it it launched from another directory , we keep it that one echo %__CD__%
+if not "%__CD__%\"=="%~dp0" set WINPYWORKDIR1="__%CD%__"
1380
1381
1382
rem remove some potential last \
0 commit comments