build-all.cmd: simplify "yes" trick

This commit is contained in:
Stinkfist0
2016-02-15 15:08:13 +02:00
parent 4979deb111
commit f12e980bfe
+1 -3
View File
@@ -30,9 +30,7 @@ setlocal EnableDelayedExpansion
call vs-cfg.cmd %1
if not %ERRORLEVEL%==0 GOTO :Error
:: Use "yes" trick to break the pause in build-deps.cmd
echo y>y.txt
call .\build-deps %1 %2<y.txt
del .\y.txt
echo y | call .\build-deps %1 %2
if not %ERRORLEVEL%==0 goto :EOF
:: Same trick as in run-cmake.bat
set ARGUMENTS=%*