From 95da208a6999e7aadb5fddf21af95d75ace02e91 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 29 Sep 2014 15:10:36 -0700 Subject: [PATCH] Updates for new servers --- build/mkrelease | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/build/mkrelease b/build/mkrelease index 82aafe1743..a531d07be6 100755 --- a/build/mkrelease +++ b/build/mkrelease @@ -36,6 +36,16 @@ shift TAG=$1 shift +#Linux +#SHA="sha1sum" +#MD="md5sum" +#BSD +#SHA="sha1" +#MD="md5" +#OpenSSL +SHA="openssl sha1" +MD="openssl md5" + if test -e $RELNAME ; then echo "error: $RELNAME exists" exit 1 @@ -75,8 +85,8 @@ echo "Rolling up $OL_STRING ..." tar cf $RELNAME.tar $RELNAME gzip -9 -c $RELNAME.tar > $RELNAME.tgz -openssl md5 $RELNAME.tgz > $RELNAME.md5 -openssl sha1 $RELNAME.tgz > $RELNAME.sha1 +${MD} $RELNAME.tgz > $RELNAME.md5 +${SHA} $RELNAME.tgz > $RELNAME.sha1 rm -f $RELNAME.tar ls -l $RELNAME.* -- 2.39.5