]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
generate.bat: Only clean prerequisite files when in ALL mode
authorSteve Holme <steve_holme@hotmail.com>
Mon, 3 Aug 2015 21:49:56 +0000 (22:49 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 4 Aug 2015 18:22:36 +0000 (19:22 +0100)
projects/generate.bat

index 7029e527764dc8a9bf8c50709970a29ddeafbdfc..fcda1d648ffe222f25dbc50461873fb6d1ac90b9 100644 (file)
@@ -96,7 +96,7 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
     if errorlevel 1 goto nogencurlbuild
     call :gen_hugehelp
     if errorlevel 1 goto nogenhugehelp
-  ) else (
+  ) else if "%VERSION%" == "ALL" (
     echo.
     echo Removing prerequisite files
     call :clean ..\include\curl\curlbuild.h