From: Steve Holme Date: Fri, 14 Aug 2015 19:44:55 +0000 (+0100) Subject: generate.bat: Only call buildconf.bat if it exists X-Git-Tag: curl-7_45_0~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ba9a1b95233baee67daba5ffbf0b3e74083d0ec;p=curl generate.bat: Only call buildconf.bat if it exists --- diff --git a/projects/generate.bat b/projects/generate.bat index c6de181b7..bb58eb00b 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -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