mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-23 19:21:21 +02:00
Allow for patch generation only
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7891 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
5e7bd56500
commit
8bf6acdc68
@ -215,7 +215,7 @@ while [ -z "$done" ]; do
|
|||||||
-*)
|
-*)
|
||||||
option=${option#-}
|
option=${option#-}
|
||||||
|
|
||||||
[ -z "$option" ] && break
|
[ -z "$option" ] && shift && break 2
|
||||||
|
|
||||||
while [ -n "$option" ]; do
|
while [ -n "$option" ]; do
|
||||||
case $option in
|
case $option in
|
||||||
@ -953,9 +953,6 @@ if [ -n "$OLDVERSION" ]; then
|
|||||||
[ -d shorewall-perl-$VERSION ] && diff -Naur -X $(dirname $0)/exclude.txt shorewall-perl-$OLDVERSION shorewall-perl-$VERSION >> patch-$VERSION || true
|
[ -d shorewall-perl-$VERSION ] && diff -Naur -X $(dirname $0)/exclude.txt shorewall-perl-$OLDVERSION shorewall-perl-$VERSION >> patch-$VERSION || true
|
||||||
[ -d shorewall-shell-$VERSION ] && diff -Naur -X $(dirname $0)/exclude.txt shorewall-shell-$OLDVERSION shorewall-shell-$VERSION >> patch-$VERSION || true
|
[ -d shorewall-shell-$VERSION ] && diff -Naur -X $(dirname $0)/exclude.txt shorewall-shell-$OLDVERSION shorewall-shell-$VERSION >> patch-$VERSION || true
|
||||||
|
|
||||||
if [ -n "$PATCHRELEASE" ]; then
|
|
||||||
eval perl -i -p -e "'if ( /\+\+\+/ ) { s/shorewall-common-$VERSION/Shorewall-common/;s/shorewall-lite-$VERSION/Shorewall-lite/;s/shorewall-perl-$VERSION/Shorewall-perl/;s/shorewall-shell-$VERSION/Shorewall-shell/ }'" patch-$VERSION
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
progress_message "Shorewall $VERSION Build complete - $(date)"
|
progress_message "Shorewall $VERSION Build complete - $(date)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user