This commit is contained in:
Dax T. Games
2018-09-03 12:59:43 -04:00
parent b1aa687d4f
commit 277972a7f2
2 changed files with 7 additions and 2 deletions

View File

@ -58,12 +58,12 @@ exit /b
set found=0
%lib_console% debug_output :enhance_path "Env Var - find_query=%find_query%"
echo %path%|findstr >nul /I /R ";%find_query%\"$"
echo "%path%"|findstr >nul /I /R ";%find_query%\"$"
if "!ERRORLEVEL!" == "0" set found=1
%lib_console% debug_output :enhance_path "Env Var 1 - found=!found!"
if "!found!" == "0" (
echo %path%|findstr >nul /i /r ";%find_query%;"
echo "%path%"|findstr >nul /i /r ";%find_query%;"
if "!ERRORLEVEL!" == "0" set found=1
%lib_console% debug_output :enhance_path "Env Var 2 - found=!found!"
)