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,12 +82,14 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
shift & goto parseArgs shift & goto parseArgs
:start :start
if "%MODE%" == "GENERATE" ( if exist ..\buildconf.bat (
call ..\buildconf if "%MODE%" == "GENERATE" (
) else if "%VERSION%" == "PRE" ( call ..\buildconf
call ..\buildconf -clean ) else if "%VERSION%" == "PRE" (
) else if "%VERSION%" == "ALL" ( call ..\buildconf -clean
call ..\buildconf -clean ) else if "%VERSION%" == "ALL" (
call ..\buildconf -clean
)
) )
if "%VERSION%" == "VC6" goto vc6 if "%VERSION%" == "VC6" goto vc6
if "%VERSION%" == "VC7" goto vc7 if "%VERSION%" == "VC7" goto vc7