Thanks to visit codestin.com Credit goes to github.com
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.
2 parents db9973e + 60c3a69 commit 8fbc9f9Copy full SHA for 8fbc9f9
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