]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
announce-gen: Fix instructions for verifying the SHA3-256 checksums.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Jan 2026 10:54:12 +0000 (11:54 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 9 Jan 2026 10:54:12 +0000 (11:54 +0100)
* build-aux/announce-gen (print_checksums): Use quotes. Fix cksum
invocation for hex SHA3-256 checksum.

ChangeLog
build-aux/announce-gen

index 0ced3d0f7c40c9ed33df3eac3e79aeab927aadeb..3a70f44748b52ef1115461337e587dcc0262ff87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-01-09  Bruno Haible  <bruno@clisp.org>
+
+       announce-gen: Fix instructions for verifying the SHA3-256 checksums.
+       * build-aux/announce-gen (print_checksums): Use quotes. Fix cksum
+       invocation for hex SHA3-256 checksum.
+
 2026-01-09  Bruno Haible  <bruno@clisp.org>
 
        doc: Improvements for gnulib git bundle.
index b74bc2fd9ba63783478b14410561188cfc02dc14..7b1d774071cce35718a1c52b2aca77487eba5321 100755 (executable)
@@ -202,9 +202,9 @@ sub print_checksums ($@)
           print '  ', digest_file_base64_wrap ($f, "SHA-256"), "\n";
           print '  ', digest_file_base64_wrap ($f, "SHA3-256"), "\n";
         }
-      print "\nVerify the base64 SHA256 checksum with cksum -a sha256 --check\n";
+      print "\nVerify the base64 SHA256 checksum with 'cksum -a sha256 --check'\n";
       print "from coreutils-9.2 or OpenBSD's cksum since 2007.\n";
-      print "\nVerify the base64 SHA3-256 checksum with cksum -a sha3 --check\n";
+      print "\nVerify the base64 SHA3-256 checksum with 'cksum -a sha3 --check'\n";
       print "from coreutils-9.8.\n\n";
     }
   else
@@ -217,8 +217,8 @@ sub print_checksums ($@)
           print "\n";
         }
       print "Verify the SHA256 checksum with either sha256sum, sha256, or\n";
-      print "shasum -a 256.\n";
-      print "\nVerify the SHA3-256 checksum with cksum -a sha3 --check\n";
+      print "'shasum -a 256'.\n";
+      print "\nVerify the SHA3-256 checksum with 'cksum -a sha3 -l 256 --base64'\n";
       print "from coreutils-9.8.\n\n";
     }
 }