aboutsummaryrefslogtreecommitdiff
path: root/winbuild
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-05-04 22:46:52 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-05 19:55:55 +0100
commit80637fc473243652c7920965c38dc8a0140e4ead (patch)
treed4df5be1647eafdc9d7a6a9d42d4714a549a3912 /winbuild
parent2d0e9b40d3237b1450cbbfbcb996da244d964898 (diff)
makedebug: Fix ERRORLEVEL detection after running where.exe
Closes #3838
Diffstat (limited to 'winbuild')
-rw-r--r--winbuild/makedebug.cmd2
1 files changed, 1 insertions, 1 deletions
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 (