win32/configure.bat: stop when setup failed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
421a73f51a
commit
80e8b524d3
@ -11,7 +11,7 @@ echo> ~tmp~.mak ####
|
|||||||
echo>> ~tmp~.mak conf = %0
|
echo>> ~tmp~.mak conf = %0
|
||||||
echo>> ~tmp~.mak $(conf): nul
|
echo>> ~tmp~.mak $(conf): nul
|
||||||
echo>> ~tmp~.mak @del ~setup~.mak
|
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
|
if exist pathlist.tmp del pathlist.tmp
|
||||||
echo>confargs.tmp #define CONFIGURE_ARGS \
|
echo>confargs.tmp #define CONFIGURE_ARGS \
|
||||||
:loop
|
: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 @if exist Makefile ren Makefile Makefile.old
|
||||||
echo>>~setup~.mak @ren Makefile.new Makefile
|
echo>>~setup~.mak @ren Makefile.new Makefile
|
||||||
nmake -alf ~setup~.mak MAKEFILE=Makefile.new
|
nmake -alf ~setup~.mak MAKEFILE=Makefile.new
|
||||||
|
exit /b %ERRORLEVEL%
|
||||||
:exit
|
:exit
|
||||||
@endlocal
|
@endlocal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user