diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-08-03 22:38:56 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-08-04 19:09:15 +0100 |
commit | 12f915ca2aa7d98d4af41e14fede1db301cfe303 (patch) | |
tree | d191c14477bd4d747e34a583cb2d7677f97ab0cb | |
parent | 4b96240d3fa589babfcab573d0806cb3b4ebfdb4 (diff) | |
download | curl-12f915ca2aa7d98d4af41e14fede1db301cfe303.tar.gz |
generate.bat: More use of lower-case for commands and reserved keywords
-rw-r--r-- | projects/generate.bat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/generate.bat b/projects/generate.bat index aaf46ff3a..2a80bf6e6 100644 --- a/projects/generate.bat +++ b/projects/generate.bat @@ -47,13 +47,13 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#] rem When not found the variable is set undefined. The undefined pattern rem allows for statements like "if not defined HAVE_PERL (command)" groff --version <NUL 1>NUL 2>&1 - if %ERRORLEVEL% EQU 0 (set HAVE_GROFF=Y) else (set HAVE_GROFF=) + if %ERRORLEVEL% equ 0 (set HAVE_GROFF=Y) else (set HAVE_GROFF=) nroff --version <NUL 1>NUL 2>&1 - if %ERRORLEVEL% EQU 0 (set HAVE_NROFF=Y) else (set HAVE_NROFF=) + if %ERRORLEVEL% equ 0 (set HAVE_NROFF=Y) else (set HAVE_NROFF=) perl --version <NUL 1>NUL 2>&1 - if %ERRORLEVEL% EQU 0 (set HAVE_PERL=Y) else (set HAVE_PERL=) + if %ERRORLEVEL% equ 0 (set HAVE_PERL=Y) else (set HAVE_PERL=) gzip --version <NUL 1>NUL 2>&1 - if %ERRORLEVEL% EQU 0 (set HAVE_GZIP=Y) else (set HAVE_GZIP=) + if %ERRORLEVEL% equ 0 (set HAVE_GZIP=Y) else (set HAVE_GZIP=) rem Display the help if /i "%~1" == "-?" goto syntax |