Commit 95da208a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Updates for new servers

parent 650543a4
...@@ -36,6 +36,16 @@ shift ...@@ -36,6 +36,16 @@ shift
TAG=$1 TAG=$1
shift shift
#Linux
#SHA="sha1sum"
#MD="md5sum"
#BSD
#SHA="sha1"
#MD="md5"
#OpenSSL
SHA="openssl sha1"
MD="openssl md5"
if test -e $RELNAME ; then if test -e $RELNAME ; then
echo "error: $RELNAME exists" echo "error: $RELNAME exists"
exit 1 exit 1
...@@ -75,8 +85,8 @@ echo "Rolling up $OL_STRING ..." ...@@ -75,8 +85,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
openssl md5 $RELNAME.tgz > $RELNAME.md5 ${MD} $RELNAME.tgz > $RELNAME.md5
openssl sha1 $RELNAME.tgz > $RELNAME.sha1 ${SHA} $RELNAME.tgz > $RELNAME.sha1
rm -f $RELNAME.tar rm -f $RELNAME.tar
ls -l $RELNAME.* ls -l $RELNAME.*
......
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