ruby-changes:50603
From: nobu <ko1@a...>
Date: Thu, 15 Mar 2018 10:05:06 +0900 (JST)
Subject: [ruby-changes:50603] nobu:r62753 (trunk): win32/configure.bat: stop when setup failed
nobu 2018-03-15 10:05:00 +0900 (Thu, 15 Mar 2018) New Revision: 62753 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62753 Log: win32/configure.bat: stop when setup failed Modified files: trunk/win32/configure.bat Index: win32/configure.bat =================================================================== --- win32/configure.bat (revision 62752) +++ win32/configure.bat (revision 62753) @@ -11,7 +11,7 @@ echo> ~tmp~.mak #### https://github.com/ruby/ruby/blob/trunk/win32/configure.bat#L11 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.ol https://github.com/ruby/ruby/blob/trunk/win32/configure.bat#L252 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/