8000 Merge pull request #932 from stonebig/master · BigNuoLi/winpython@b11e380 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b11e380

Browse files
authored
Merge pull request winpython#932 from stonebig/master
bug fixing so spyder launches as expected
2 parents 644acf1 + c0a027c commit b11e380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,8 @@ def _create_batch_scripts_initial(self):
13281328
set WINPYWORKDIR=%~dp0..\Notebooks
13291329
13301330
set WINPYWORKDIR1=%~dp1
1331+
if "%WINPYWORKDIR1:~-1%"=="\" set WINPYWORKDIR1=%WINPYWORKDIR1:~0,-1%
1332+
13311333
if "%WINPYWORKDIR1%"=="" (
13321334
if not "%CD%\"=="%~dp0" set WINPYWORKDIR1=%CD%
13331335
)
@@ -1648,6 +1650,7 @@ def _create_batch_scripts(self):
16481650
"%WINPYDIR%\scripts\spyder3.exe" %* -w "%WINPYWORKDIR1%"
16491651
) else (
16501652
"%WINPYDIR%\scripts\spyder.exe" %* -w "%WINPYWORKDIR1%"
1653+
)
16511654
""",
16521655
)
16531656

0 commit comments

Comments
 (0)
0