build-deps - set NUGET_EXE from PATH if it's available

This commit is contained in:
Andrej730
2025-10-08 10:27:31 +05:00
parent 3efd88b0d6
commit 389d481364
+1
View File
@@ -210,6 +210,7 @@ set NUGET_EXE=%NUGET_INSTALL_DIR%\nuget.exe
where nuget >nul 2>&1 where nuget >nul 2>&1
IF %ERRORLEVEL%==0 ( IF %ERRORLEVEL%==0 (
echo Found existing nuget in PATH. Skipping. echo Found existing nuget in PATH. Skipping.
for /f "delims=" %%i in ('where nuget') do set "NUGET_EXE=%%i"
goto :ccache goto :ccache
) )