Ensure use the system find and findstr command instead find/findstr from path. Fix #1959

This commit is contained in:
Daniel Chesters
2018-11-22 21:14:02 +01:00
parent a226019d5a
commit 036cf09360
5 changed files with 12 additions and 12 deletions

2
vendor/init.bat vendored
View File

@ -300,7 +300,7 @@ if "%CMDER_ALIASES%" == "1" (
echo Creating initial user_aliases store in "%user_aliases%"...
copy "%CMDER_ROOT%\vendor\user_aliases.cmd.example" "%user_aliases%"
) else (
type "%user_aliases%" | findstr /i ";= Add aliases below here" >nul
type "%user_aliases%" | %WINDIR%\System32\findstr /i ";= Add aliases below here" >nul
if "!errorlevel!" == "1" (
echo Creating initial user_aliases store in "%user_aliases%"...
if defined CMDER_USER_CONFIG (