2
0
Эх сурвалжийг харах

Add missing failure check.

Martijn Laan 2 сар өмнө
parent
commit
02bc57b1a0
2 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 1 0
      build-ce.bat
  2. 1 0
      build.bat

+ 1 - 0
build-ce.bat

@@ -83,6 +83,7 @@ echo Compiling Inno Setup done
 if exist .\setup-presign.bat (
 if exist .\setup-presign.bat (
   echo - Presigning
   echo - Presigning
   call .\setup-presign.bat Files\ISCC.exe Files\ISCmplr.dll Files\ISPP.dll
   call .\setup-presign.bat Files\ISCC.exe Files\ISCmplr.dll Files\ISPP.dll
+  if errorlevel 1 goto failed
   echo Presign done
   echo Presign done
 )
 )
 
 

+ 1 - 0
build.bat

@@ -77,6 +77,7 @@ echo Compiling Inno Setup done
 if exist .\setup-presign.bat (
 if exist .\setup-presign.bat (
   echo - Presigning
   echo - Presigning
   call .\setup-presign.bat Files\ISCC.exe Files\ISCmplr.dll Files\ISPP.dll
   call .\setup-presign.bat Files\ISCC.exe Files\ISCmplr.dll Files\ISPP.dll
+  if errorlevel 1 goto failed
   echo Presign done
   echo Presign done
 ) 
 )