diff --git a/cli/src/main/package/bin/ide.bat b/cli/src/main/package/bin/ide.bat index 6f6465324..0701a565d 100644 --- a/cli/src/main/package/bin/ide.bat +++ b/cli/src/main/package/bin/ide.bat @@ -12,11 +12,11 @@ set "GIT_BIN=%GIT_HOME%\usr\bin" set "GIT_CORE=%GIT_HOME%\mingw64\libexec\git-core" if exist "%GIT_BIN%" ( - echo "%PATH%" | find /i "%GIT_BIN%">nul || set "PATH=%PATH%;%GIT_BIN%" + echo "%PATH%" | find /i "%GIT_BIN%">nul || set "PATH=%PATH%;%GIT_BIN%" ) if exist "%GIT_CORE%" ( - echo "%PATH%" | find /i "%GIT_CORE%">nul || set "PATH=%PATH%;%GIT_CORE%" + echo "%PATH%" | find /i "%GIT_CORE%">nul || set "PATH=%PATH%;%GIT_CORE%" ) if not "%1%" == "" ( @@ -24,6 +24,7 @@ if not "%1%" == "" ( if not %ERRORLEVEL% == 0 ( echo %_fBRed%Error: IDEasy failed with exit code %ERRORLEVEL% %_RESET% exit /b %ERRORLEVEL% + ) ) REM https://stackoverflow.com/questions/61888625/what-is-f-in-the-for-loop-command