8000 DOS housekeeping by stonebig · Pull Request #1044 · winpython/winpython · GitHub
[go: up one dir, main page]

Skip to content

DOS housekeeping #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
DOS housekeeping
... trying not to get mad at DOS
  • Loading branch information
stonebig committed Dec 4, 2021
commit 777267bc6ec35ed328e8284f2e4e695d7dd34c2a
3 changes: 2 additions & 1 deletion make.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ def _create_batch_scripts_initial(self):
set WINPYDIRBASETMP=%~dp0..
pushd %WINPYDIRBASETMP%
set WINPYDIRBASE=%__CD__%
if "%WINPYDIRBASE:~-1%"=="\" set WINPYDIRBASE=%WINPYDIRBASE:~0,-1%
set WINPYDIRBASETMP=
popd

Expand Down Expand Up @@ -1358,7 +1359,7 @@ def _create_batch_scripts_initial(self):
'env_for_icons.bat',
r"""@echo off
call "%~dp0env.bat"
set WINPYWORKDIR=%~dp0..\Notebooks
set WINPYWORKDIR=%WINPYDIRBASE%\Notebooks

rem default is as before: Winpython ..\Notebooks
set WINPYWORKDIR1=%WINPYWORKDIR%
Expand Down
0