changeset 2114:3fc52a2fadce sv_v3.2pre1

This seems to be necessary in order to bail out properly
author Chris Cannam
date Fri, 16 Nov 2018 09:52:37 +0000
parents f1dfbf5d59d4
children 708ae77f5b78
files deploy/win64/build-and-package.bat
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win64/build-and-package.bat	Fri Nov 16 09:47:05 2018 +0000
+++ b/deploy/win64/build-and-package.bat	Fri Nov 16 09:52:37 2018 +0000
@@ -24,9 +24,9 @@
 @   echo NOTE: whether it'll work before doing the entire build
 copy sv-dependency-builds\win64-msvc\bin\capnp.exe signtest.exe
 signtool sign /v /n "%NAME%" /t http://time.certum.pl /fd sha1 signtest.exe
-if %errorlevel% neq 0 exit /b %errorlevel%
+if errorlevel 1 exit /b %errorlevel%
 signtool verify /pa signtest.exe
-if %errorlevel% neq 0 exit /b %errorlevel%
+if errorlevel 1 exit /b %errorlevel%
 del signtest.exe
 @   echo NOTE: success
 ) else (