1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

generate.bat: Only call buildconf.bat if it exists

This commit is contained in:
Steve Holme 2015-08-14 20:44:55 +01:00
parent bc66c21c23
commit 6ba9a1b952

View File

@ -82,6 +82,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
shift & goto parseArgs shift & goto parseArgs
:start :start
if exist ..\buildconf.bat (
if "%MODE%" == "GENERATE" ( if "%MODE%" == "GENERATE" (
call ..\buildconf call ..\buildconf
) else if "%VERSION%" == "PRE" ( ) else if "%VERSION%" == "PRE" (
@ -89,6 +90,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
) else if "%VERSION%" == "ALL" ( ) else if "%VERSION%" == "ALL" (
call ..\buildconf -clean call ..\buildconf -clean
) )
)
if "%VERSION%" == "VC6" goto vc6 if "%VERSION%" == "VC6" goto vc6
if "%VERSION%" == "VC7" goto vc7 if "%VERSION%" == "VC7" goto vc7
if "%VERSION%" == "VC7.1" goto vc71 if "%VERSION%" == "VC7.1" goto vc71