From 80637fc473243652c7920965c38dc8a0140e4ead Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 4 May 2019 22:46:52 +0100 Subject: makedebug: Fix ERRORLEVEL detection after running where.exe Closes #3838 --- winbuild/makedebug.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winbuild') diff --git a/winbuild/makedebug.cmd b/winbuild/makedebug.cmd index b4a917c34..079e16a05 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 ( -- cgit v1.2.1