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 33dc50c commit 777267bCopy full SHA for 777267b
make.py
@@ -1021,6 +1021,7 @@ def _create_batch_scripts_initial(self):
1021
set WINPYDIRBASETMP=%~dp0..
1022
pushd %WINPYDIRBASETMP%
1023
set WINPYDIRBASE=%__CD__%
1024
+if "%WINPYDIRBASE:~-1%"=="\" set WINPYDIRBASE=%WINPYDIRBASE:~0,-1%
1025
set WINPYDIRBASETMP=
1026
popd
1027
@@ -1358,7 +1359,7 @@ def _create_batch_scripts_initial(self):
1358
1359
'env_for_icons.bat',
1360
r"""@echo off
1361
call "%~dp0env.bat"
-set WINPYWORKDIR=%~dp0..\Notebooks
1362
+set WINPYWORKDIR=%WINPYDIRBASE%\Notebooks
1363
1364
rem default is as before: Winpython ..\Notebooks
1365
set WINPYWORKDIR1=%WINPYWORKDIR%
0 commit comments