From: James Johnston Date: Fri, 10 Jul 2015 06:56:27 +0000 (+0300) Subject: [SVN 45515] Check exit status of sub-make in subproc.bat X-Git-Tag: 4.1.90~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5036dd120a6806b98adce637a86fb34fb2e6372a;p=thirdparty%2Fmake.git [SVN 45515] Check exit status of sub-make in subproc.bat * subproc.bat: Exit when sub-make invocation fails. Copyright-paperwork-exempt: yes --- diff --git a/subproc.bat b/subproc.bat index e3b8d3cf..0669187f 100644 --- a/subproc.bat +++ b/subproc.bat @@ -20,4 +20,5 @@ set MAKE=%2 set MAKEFILE=%1 if x%2 == x set MAKE=nmake %MAKE% /f %MAKEFILE% +if ERRORLEVEL 1 exit /B cd ..\..