From ba73c0b2f8e8cc45f36507229e48fc8c2fbe3279 Mon Sep 17 00:00:00 2001 From: harry Date: Sun, 15 Jan 2023 00:05:05 -0500 Subject: [PATCH] Changed error check command for Qt auto build batch file. --- pipelines/qwin64_build.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pipelines/qwin64_build.bat b/pipelines/qwin64_build.bat index 9e829a71..cebfab1e 100644 --- a/pipelines/qwin64_build.bat +++ b/pipelines/qwin64_build.bat @@ -49,7 +49,7 @@ cmake -DQT6=0 -DPUBLIC_RELEASE=%PUBLIC_RELEASE% -DSDL_INSTALL_PREFIX=%SDL_INSTAL REM nmake msbuild /m fceux.sln /p:Configuration=Release -@if ERRORLEVEL 1 goto end +@if %ERRORLEVEL% NEQ 0 goto end copy src\Release\fceux.exe bin\qfceux.exe copy %PROJECT_ROOT%\src\auxlib.lua bin\. @@ -70,16 +70,16 @@ dir bin REM Create Zip Archive %PROJECT_ROOT%\vc\zip -X -9 -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% bin -@if ERRORLEVEL 1 goto end +@if %ERRORLEVEL% NEQ 0 goto end cd %PROJECT_ROOT%\output %PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% palettes luaScripts tools -@if ERRORLEVEL 1 goto end +@if %ERRORLEVEL% NEQ 0 goto end mkdir doc copy *.chm doc\. %PROJECT_ROOT%\vc\zip -X -9 -u -r %PROJECT_ROOT%\vc\%ZIP_FILENAME% doc -@if ERRORLEVEL 1 goto end +@if %ERRORLEVEL% NEQ 0 goto end cd %PROJECT_ROOT%