Fix sha1sums and md5sums for RC/Beta Releases

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3812 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-04-25 23:01:25 +00:00
parent ead63852f4
commit b06efbcd21

View File

@ -453,6 +453,13 @@ rm -f $VERSION.md5sums $VERSION.sha1sums
# The following rather awkward algorithm gets around the problem of builds that don't
# include the RPM
#
case $VERSION in
*Beta*|*RC*)
do_or_die "md5sum shorewall-${VERSION%-*}-0${VERSION#*-}.noarch.rpm >> $VERSION.md5sums"
do_or_die "sha1sum shorewall-${VERSION%-*}-0${VERSION#*-}.noarch.rpm >> $VERSION.sha1sums"
;;
esac
for file in *; do
case $file in
*$VERSION[-.]*tgz|*$VERSION[-.]*rpm|*$VERSION[-.]*bz2)