Use exclude file when generating main patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7182 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-08-19 15:35:08 +00:00
parent c2d64b61f5
commit e75e706f36

View File

@ -705,7 +705,7 @@ done
if [ -n "$OLDVERSION" ]; then
progress_message "Creating patch-$VERSION ..."
diff -Naur shorewall-$OLDVERSION shorewall-$VERSION > patch-$VERSION || true
diff -Naur -X $(dirname $0)/exclude.txt shorewall-$OLDVERSION shorewall-$VERSION > patch-$VERSION || true
if [ -n "$HASLITE" ]; then
diff -Naur -X $(dirname $0)/exclude.txt shorewall-lite-$OLDVERSION shorewall-lite-$VERSION >> patch-$VERSION || true
fi