From 012fe3631371e8be90fab1ad9105e6a1dde120ac Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 20 Oct 2006 19:11:12 +0000 Subject: [PATCH] Only diff Lite on releases > 3.0 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4724 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- tools/build/makeshorewall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/build/makeshorewall b/tools/build/makeshorewall index a716a6cfe..ccde2a31b 100755 --- a/tools/build/makeshorewall +++ b/tools/build/makeshorewall @@ -570,7 +570,9 @@ if [ -n "$OLDVERSION" ]; then progress_message "Creating patch-$VERSION ..." diff -Naur shorewall-$OLDVERSION shorewall-$VERSION > patch-$VERSION || true - diff -Naur shorewall-lite-$OLDVERSION shorewall-lite-$VERSION >> patch-$VERSION || true + if [ -n "$HASLITE" ]; then + diff -Naur shorewall-lite-$OLDVERSION shorewall-lite-$VERSION >> patch-$VERSION || true + fi fi progress_message "Shorewall $VERSION Build complete - $(date)"