Skip to content

Commit

Permalink
generate.bat: Only call buildconf.bat if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
captain-caveman2k committed Aug 14, 2015
1 parent bc66c21 commit 6ba9a1b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions projects/generate.bat
Expand Up @@ -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
Expand Down

0 comments on commit 6ba9a1b

Please sign in to comment.