From 650afc1485a3f99f768fb64bc7239dcdb852e8fe Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 10 Feb 2006 20:31:51 +0000 Subject: [PATCH] Finally fix bug in makeshorewall git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3474 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- tools/build/makeshorewall | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tools/build/makeshorewall b/tools/build/makeshorewall index 2926ba38c..32ca72a2a 100644 --- a/tools/build/makeshorewall +++ b/tools/build/makeshorewall @@ -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)" +