mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
generate.bat: Only call buildconf.bat if it exists
This commit is contained in:
parent
bc66c21c23
commit
6ba9a1b952
@ -82,12 +82,14 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
|
||||
shift & goto parseArgs
|
||||
|
||||
:start
|
||||
if "%MODE%" == "GENERATE" (
|
||||
call ..\buildconf
|
||||
) else if "%VERSION%" == "PRE" (
|
||||
call ..\buildconf -clean
|
||||
) else if "%VERSION%" == "ALL" (
|
||||
call ..\buildconf -clean
|
||||
if exist ..\buildconf.bat (
|
||||
if "%MODE%" == "GENERATE" (
|
||||
call ..\buildconf
|
||||
) else if "%VERSION%" == "PRE" (
|
||||
call ..\buildconf -clean
|
||||
) else if "%VERSION%" == "ALL" (
|
||||
call ..\buildconf -clean
|
||||
)
|
||||
)
|
||||
if "%VERSION%" == "VC6" goto vc6
|
||||
if "%VERSION%" == "VC7" goto vc7
|
||||
|
Loading…
Reference in New Issue
Block a user