mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Updates for new servers
This commit is contained in:
parent
650543a493
commit
95da208a69
1 changed files with 12 additions and 2 deletions
|
|
@ -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.*
|
||||
|
|
|
|||
Loading…
Reference in a new issue