Commit 6ba9a1b9 authored by Steve Holme's avatar Steve Holme
Browse files

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

parent bc66c21c
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -82,6 +82,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
  shift & goto parseArgs
 
:start
  if exist ..\buildconf.bat (
    if "%MODE%" == "GENERATE" (
      call ..\buildconf
    ) 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" (
      call ..\buildconf -clean
    )
  )
  if "%VERSION%" == "VC6" goto vc6
  if "%VERSION%" == "VC7" goto vc7
  if "%VERSION%" == "VC7.1" goto vc71