]> granicus.if.org Git - curl/commitdiff
makedebug: Fix ERRORLEVEL detection after running where.exe
authorSteve Holme <steve_holme@hotmail.com>
Sat, 4 May 2019 21:46:52 +0000 (22:46 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 5 May 2019 18:55:55 +0000 (19:55 +0100)
Closes #3838

winbuild/makedebug.cmd

index b4a917c34db95111cfb889e278a74c8a1e34047e..079e16a05f389a99622ea4d3ba12c4c391e4513b 100644 (file)
@@ -2,7 +2,7 @@
 
 where.exe nmake.exe >nul 2>&1
 
-IF %ERRORLEVEL == 1 (
+IF %ERRORLEVEL% == 1 (
     ECHO Error: Can't find `nmake.exe` - be sure to run this script from within a Developer Command-Prompt
     ECHO.
 ) ELSE (