summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-08-14 20:44:55 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-08-14 20:46:11 +0100
commit6ba9a1b95233baee67daba5ffbf0b3e74083d0ec (patch)
tree985224c7fadfa12555bb6d1bff09428c54492f37 /projects
parentbc66c21c23c4b2e80955e3608073339cb46f68a8 (diff)
downloadcurl-6ba9a1b95233baee67daba5ffbf0b3e74083d0ec.tar.gz
generate.bat: Only call buildconf.bat if it exists
Diffstat (limited to 'projects')
-rw-r--r--projects/generate.bat14
1 files changed, 8 insertions, 6 deletions
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