Browse Source

Merge branch 'main' into trustfunc

Martijn Laan 5 months ago
parent
commit
8aef1cca05
2 changed files with 6 additions and 4 deletions
  1. 2 2
      Projects/ISSigTool.dpr
  2. 4 2
      compile.bat

+ 2 - 2
Projects/ISSigTool.dpr

@@ -202,8 +202,8 @@ end;
 
 procedure ShowUsage;
 begin
-  Writeln(ErrOutput, 'Usage:  issigtool [options] sign <filename>');
-  Writeln(ErrOutput, 'or to verify:  issigtool [options] verify <filename>');
+  Writeln(ErrOutput, 'Usage:  issigtool [options] sign <filenames>');
+  Writeln(ErrOutput, 'or to verify:  issigtool [options] verify <filenames>');
   Writeln(ErrOutput, 'or to read generate private key:  issigtool [options] generate-private-key');
   Writeln(ErrOutput, 'Options:');
   Writeln(ErrOutput, '  --key-file=<filename> Specifies a key filename (overrides ISSIGTOOL_KEY_FILE environment variable)');

+ 4 - 2
compile.bat

@@ -33,7 +33,7 @@ rem  if multiple projects are specified on the command line.
 set DELPHIXEDISABLEDWARNINGS=-W-SYMBOL_DEPRECATED -W-SYMBOL_PLATFORM -W-UNSAFE_CAST -W-EXPLICIT_STRING_CAST -W-EXPLICIT_STRING_CAST_LOSS -W-IMPLICIT_INTEGER_CAST_LOSS -W-IMPLICIT_CONVERSION_LOSS
 
 cd Projects
-if errorlevel 1 goto exit
+if errorlevel 1 goto failed
 
 echo - ISPP.dpr
 mkdir Dcu\ISPP.dpr 2>nul
@@ -78,8 +78,10 @@ if errorlevel 1 goto failed
 move Setup.exe Setup.e32
 if errorlevel 1 goto failed
 
-echo Success!
 cd ..
+if errorlevel 1 goto failed
+
+echo Success!
 goto exit
 
 :failed