From 12f915ca2aa7d98d4af41e14fede1db301cfe303 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Mon, 3 Aug 2015 22:38:56 +0100 Subject: generate.bat: More use of lower-case for commands and reserved keywords --- projects/generate.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'projects/generate.bat') 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 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 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 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 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 -- cgit v1.2.1