Mailing List Archive

svn commit: r1916789 - /httpd/dev-tools/release/common-lib.sh
Author: covener
Date: Wed Apr 3 19:08:30 2024
New Revision: 1916789

URL: http://svn.apache.org/viewvc?rev=1916789&view=rev
Log:
allow sha2-*


Modified:
httpd/dev-tools/release/common-lib.sh

Modified: httpd/dev-tools/release/common-lib.sh
URL: http://svn.apache.org/viewvc/httpd/dev-tools/release/common-lib.sh?rev=1916789&r1=1916788&r2=1916789&view=diff
==============================================================================
--- httpd/dev-tools/release/common-lib.sh (original)
+++ httpd/dev-tools/release/common-lib.sh Wed Apr 3 19:08:30 2024
@@ -247,8 +247,8 @@ create_dist_checksums() {
pushd `dirname "$path"` >/dev/null
file=`basename "$path"`
echo " - create checksums for ${file}"
- openssl sha256 ${file} | sed -e 's#^SHA256(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha256
- openssl sha512 ${file} | sed -e 's#^SHA512(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha512
+ openssl sha256 ${file} | sed -e 's#^SHA(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha256
+ openssl sha512 ${file} | sed -e 's#^SHA(\(.*\))= \([0-9a-f]*\)$#\2 *\1#' > ${file}.sha512
popd > /dev/null
done
}