summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-07-26 20:59:56 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-07-28 23:08:24 +0100
commitb656715da38137b8a2f420e6e488680fcef4c562 (patch)
tree65bf90d612b6744810f80389e9120fa3caf5b428 /projects
parent9b95306d4c2bedc1324aaf82d7044fc6bb8d1f68 (diff)
downloadcurl-b656715da38137b8a2f420e6e488680fcef4c562.tar.gz
generate.bat: Use lower-case for commands and reserved keywords
Whilst there are no coding standards for the batch files used in curl, most tend to use lower-case for keywords and upper-case for variables.
Diffstat (limited to 'projects')
-rw-r--r--projects/generate.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index b89c2d4dd..aaf46ff3a 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -92,9 +92,9 @@ rem If you need to set the errorlevel do this instead: CALL :seterr [#]
if "%MODE%" == "GENERATE" (
echo.
echo Generating prerequisite files
- CALL :gen_curlbuild
+ call :gen_curlbuild
if errorlevel 1 goto error
- CALL :gen_hugehelp
+ call :gen_hugehelp
if errorlevel 1 goto error
) else (
echo.
@@ -435,7 +435,7 @@ rem Returns exit code 0 on success or 1 on failure.
echo #endif>> ..\src\tool_hugehelp.c
)
findstr "/C:void hugehelp(void)" ..\src\tool_hugehelp.c 1>NUL 2>&1
- if %ERRORLEVEL% NEQ 0 (
+ if %ERRORLEVEL% neq 0 (
echo Error: Unable to generate ..\src\tool_hugehelp.c
exit /B 1
)
@@ -447,7 +447,7 @@ rem Returns exit code 0 on success or 1 on failure.
setlocal
echo * %CD%\..\include\curl\curlbuild.h
copy /y ..\include\curl\curlbuild.h.dist ..\include\curl\curlbuild.h 1>NUL
- if %ERRORLEVEL% NEQ 0 (
+ if %ERRORLEVEL% neq 0 (
echo Error: Unable to generate ..\include\curl\curlbuild.h
exit /B 1
)