From 0c7d8ed529a53ffe86a5ee86feb0f0566709ccfb Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 12 Sep 2019 04:08:34 +1000 Subject: [PATCH] so this is how windows bat files work --- appveyor-build.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor-build.bat b/appveyor-build.bat index 17fd9eaf4..cda7153be 100644 --- a/appveyor-build.bat +++ b/appveyor-build.bat @@ -18,11 +18,11 @@ curl -L -o oiio-v2.3.0-win64-shared.zip https://github.com/olive-editor/OpenImag REM Run cmake cmake . -G "NMake Makefiles" -DOPENCOLORIO_ROOT_DIR=ocio-v1.1.1-win64-shared -DFFMPEG_ROOT=ffmpeg-4.2-win64-dev -DOIIO_BASE_DIR=oiio-v2.3.0-win64-shared -DQt5_DIR=C:\Qt\5.13.0\msvc2015_64\lib\cmake\Qt5 -if %ERRORLEVEL% != 0 ( exit 1 ) +if not %ERRORLEVEL% == 0 ( exit 1 ) REM Build Olive nmake -if %ERRORLEVEL% != 0 ( exit 1 ) +if not %ERRORLEVEL% == 0 ( exit 1 ) REM Build finished, time to package mkdir olive