Update build for patch releases

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7740 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-11-24 15:10:53 +00:00
parent 6e6da40039
commit d4177e00c4

View File

@ -307,6 +307,23 @@ case $VERSION in
SHELLTARBALL=shorewall-shell-${VERSION%-*}.tgz
SHELLDIR=shorewall-shell-${VERSION%-*}
;;
*-*)
#
# Patch Release
#
SHOREWALLDIR=shorewall-common-${VERSION%-*}
SHOREWALLLITEDIR=shorewall-lite-${VERSION%-*}
TARBALL=shorewall-common-${VERSION%-*}.tgz
LITETARBALL=shorewall-lite-${VERSION%-*}.tgz
RPMNAME=shorewall-common-${VERSION}.noarch.rpm
LITERPMNAME=shorewall-lite-${VERSION}.noarch.rpm
PERLRPMNAME=shorewall-perl-${VERSION}.noarch.rpm
PERLTARBALL=shorewall-perl-${VERSION%-*}.tgz
PERLDIR=shorewall-perl-${VERSION%-*}
SHELLRPMNAME=shorewall-shell-${VERSION}.noarch.rpm
SHELLTARBALL=shorewall-shell-${VERSION%-*}.tgz
SHELLDIR=shorewall-shell-${VERSION%-*}
;;
*)
#
# Normal Release
@ -701,7 +718,7 @@ if [ -n "${BUILDXML}${BUILDHTML}" ]; then
fi
[ -n "$BUILDTARBALL" ] && case $VERSION in
*Beta*|*RC*|*Pre*)
*-*)
#
# The original tarball created above didn't include the -Beta or -RC portion of the
# name in either the tarball name or the directory name. Create it here