mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-16 17:51:16 +01:00
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:
parent
ead63852f4
commit
b06efbcd21
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user