Commit 32761fa3 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#8839 - Only generate SHA3 hash now that we also have GPG, drop MD5/SHA1

parent 8d9a99b2
...@@ -43,9 +43,9 @@ shift ...@@ -43,9 +43,9 @@ shift
#SHA="sha1" #SHA="sha1"
#MD="md5" #MD="md5"
#OpenSSL #OpenSSL
SHA="openssl sha1" #SHA="openssl sha1"
SHA3="openssl sha3-512" SHA3="openssl sha3-512"
MD="openssl md5" #MD="openssl md5"
if test -e $RELNAME ; then if test -e $RELNAME ; then
echo "error: $RELNAME exists" echo "error: $RELNAME exists"
...@@ -86,8 +86,8 @@ echo "Rolling up $OL_STRING ..." ...@@ -86,8 +86,8 @@ echo "Rolling up $OL_STRING ..."
tar cf $RELNAME.tar $RELNAME tar cf $RELNAME.tar $RELNAME
gzip -9 -c $RELNAME.tar > $RELNAME.tgz gzip -9 -c $RELNAME.tar > $RELNAME.tgz
${MD} $RELNAME.tgz > $RELNAME.md5 #${MD} $RELNAME.tgz > $RELNAME.md5
${SHA} $RELNAME.tgz > $RELNAME.sha1 #${SHA} $RELNAME.tgz > $RELNAME.sha1
${SHA3} $RELNAME.tgz > $RELNAME.sha3-512 ${SHA3} $RELNAME.tgz > $RELNAME.sha3-512
rm -f $RELNAME.tar rm -f $RELNAME.tar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment