From: Steve Holme Date: Sat, 4 May 2019 21:46:52 +0000 (+0100) Subject: makedebug: Fix ERRORLEVEL detection after running where.exe X-Git-Tag: curl-7_65_0~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80637fc473243652c7920965c38dc8a0140e4ead;p=thirdparty%2Fcurl.git makedebug: Fix ERRORLEVEL detection after running where.exe Closes #3838 --- diff --git a/winbuild/makedebug.cmd b/winbuild/makedebug.cmd index b4a917c34d..079e16a05f 100644 --- a/winbuild/makedebug.cmd +++ b/winbuild/makedebug.cmd @@ -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 (