From 80e8b524d31a05957abb5c0383e365eb6a036edd Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 15 Mar 2018 01:05:00 +0000 Subject: [PATCH] win32/configure.bat: stop when setup failed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/configure.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/win32/configure.bat b/win32/configure.bat index 7ba326c9ef..cce2cc81a2 100755 --- a/win32/configure.bat +++ b/win32/configure.bat @@ -11,7 +11,7 @@ echo> ~tmp~.mak #### echo>> ~tmp~.mak conf = %0 echo>> ~tmp~.mak $(conf): nul echo>> ~tmp~.mak @del ~setup~.mak -echo>> ~tmp~.mak @-$(MAKE) -l$(MAKEFLAGS) -f $(@D)/setup.mak \ +echo>> ~tmp~.mak @$(MAKE) -l$(MAKEFLAGS) -f $(@D)/setup.mak \ if exist pathlist.tmp del pathlist.tmp echo>confargs.tmp #define CONFIGURE_ARGS \ :loop @@ -252,5 +252,6 @@ echo>>~setup~.mak @if exist Makefile.old del Makefile.old echo>>~setup~.mak @if exist Makefile ren Makefile Makefile.old echo>>~setup~.mak @ren Makefile.new Makefile nmake -alf ~setup~.mak MAKEFILE=Makefile.new +exit /b %ERRORLEVEL% :exit @endlocal