Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c51f46

Browse files
authored
Merge pull request #389 from NCNecros/master
fix problem with another find.exe in PATH
2 parents 6716b37 + 62401d6 commit 9c51f46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ def _create_batch_scripts_initial(self):
552552
set JUPYTER_DATA_DIR=%HOME%
553553
set WINPYARCH=WIN32
554554
if "%WINPYDIR:~-5%"=="amd64" set WINPYARCH=WIN-AMD64
555-
echo ;%PATH%; | find /C /I ";%WINPYDIR%\;" >nul
555+
set FINDDIR=%WINDIR%\system32
556+
echo ;%PATH%; | %FINDDIR%\find.exe /C /I ";%WINPYDIR%\;" >nul
556557
if %ERRORLEVEL% NEQ 0 set PATH=""" + path + r"""
557558
558559
rem force default pyqt5 kit for Spyder if PyQt5 module is there

0 commit comments

Comments
 (0)