diff --git a/build_win32.cmd b/build_win32.cmd index 79793c2e..a10f76be 100644 --- a/build_win32.cmd +++ b/build_win32.cmd @@ -11,7 +11,7 @@ SET QTDIR=%POKERTH_WIN32_LIB_DIR%\qt qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release -if not errorlevel 0 exit /b %ERRORLEVEL% +IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL% REM Add automatic packaging or copying here. mingw32-make distclean diff --git a/build_win64.cmd b/build_win64.cmd index 043fd5cd..994609aa 100644 --- a/build_win64.cmd +++ b/build_win64.cmd @@ -11,7 +11,7 @@ SET QTDIR=%POKERTH_WIN64_LIB_DIR%\qt qmake DEFINES+=BOOST_USE_WINDOWS_H pokerth.pro mingw32-make release -if not errorlevel 0 exit /b %ERRORLEVEL% +IF NOT "%ERRORLEVEL%"=="0" exit /b %ERRORLEVEL% REM Add automatic packaging or copying here. mingw32-make distclean