mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +01:00
Fix sha1/md5 sum creations on partial build
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3579 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
bcd26dab58
commit
49b4b808ab
@ -436,15 +436,21 @@ fi
|
||||
rm -f ${betaball}.asc
|
||||
do_or_die "$GPG $betaball"
|
||||
done
|
||||
|
||||
;;
|
||||
;;
|
||||
esac
|
||||
|
||||
progress_message "Creating md5sums"
|
||||
do_or_die "md5sum *$VERSION[-.]*tgz *$VERSION[-.]*rpm *$VERSION[-.]*bz2 > $VERSION.md5sums"
|
||||
progress_message "Creating md5sums and sha1sums"
|
||||
|
||||
progress_message "Creating sha1sums"
|
||||
do_or_die "sha1sum *$VERSION[-.]*tgz *$VERSION[-.]*rpm *$VERSION[-.]*bz2 > $VERSION.sha1sums"
|
||||
rm -f $VERSION.md5sums $VERSION.sha1sums
|
||||
|
||||
for file in *; do
|
||||
case $file in
|
||||
*tgz|*rpm|*bz2)
|
||||
do_or_die "md5sum $file >> $VERSION.md5sums"
|
||||
do_or_die "sha1sum $file >> $VERSION.sha1sums"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -n "$OLDVERSION" ]; then
|
||||
progress_message "Creating patch-$VERSION ..."
|
||||
|
Loading…
Reference in New Issue
Block a user