fix lib_path

This commit is contained in:
Dax T. Games 2020-07-25 05:11:34 -04:00
parent 334838c079
commit 37a223b449

View File

@ -32,6 +32,7 @@ exit /b
:::options:
:::
::: append <in> Append to the path env variable rather than pre-pend.
::B
:::
:::output:
:::
@ -168,7 +169,7 @@ exit /b
set "position="
)
dir "%add_path%" >NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL
dir "%add_path%" 2>NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL
if "%ERRORLEVEL%" == "0" (
set "add_to_path=%add_path%"