Finally fix bug in makeshorewall

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3474 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-02-10 20:31:51 +00:00
parent 1243b12b19
commit 650afc1485

View File

@ -523,16 +523,17 @@ if [ -n "$BUILDLRP" ]; then
cd $DIR
fi
if [ -n "$OLDVERSION" ]; then
progress_message "Creating patch-$VERSION ..."
diff -Naur shorewall-$OLDVERSION shorewall-$VERSION > patch-$VERSION
fi
progress_message "Creating md5sums"
do_or_die "*$VERSION[-.]*tgz *$VERSION[-.]*rpm *$VERSION[-.]*bz2 > $VERSION.md5sums"
do_or_die "md5sum *$VERSION[-.]*tgz *$VERSION[-.]*rpm *$VERSION[-.]*bz2 > $VERSION.md5sums"
progress_message "Creating sha1sums"
do_or_die "sha1sum *$VERSION[-.]*tgz *$VERSION[-.]*rpm *$VERSION[-.]*bz2 > $VERSION.sha1sums"
if [ -n "$OLDVERSION" ]; then
progress_message "Creating patch-$VERSION ..."
diff -Naur shorewall-$OLDVERSION shorewall-$VERSION > patch-$VERSION || true
fi
progress_message "Shorewall $VERSION Build complete - $(date)"