Allow specificaiton of a CVS TAG for the Samples

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2914 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-21 15:47:09 +00:00
parent e91f4b6c3e
commit 4dbc831ead

View File

@ -81,7 +81,7 @@ BUILDRPM=
BUILDXML=
BUILDHTML=
BUILDLRP=
SAMPLES=
SAMPLESTAG=
################################################################################
# F U N C T I O N S
################################################################################
@ -245,7 +245,7 @@ case $VERSION in
DOCTAG=HEAD
XMLPROJ=Shorewall-docs2
BUILDLRP=
SAMPLES=Yes
SAMPLESTAG=HEAD
;;
*)
echo "Unsupported Version: $VERSION"
@ -302,9 +302,9 @@ if [ -n "${BUILDTARBALL}${BUILDRPM}" ]; then
fgrep VERSION=$VERSION $SHOREWALLDIR/uninstall.sh > /dev/null 2>&1 || fatal_error "uninstall.sh has wrong version"
fgrep VERSION=$VERSION $SHOREWALLDIR/fallback.sh > /dev/null 2>&1 || fatal_error "fallback.sh has wrong version"
if [ -n "$SAMPLES" ]; then
if [ -n "$SAMPLESTAG" ]; then
cd $SHOREWALLDIR
do_or_die "cvs -z3 export -r $CVSTAG Samples >> $LOGFILE 2>&1"
do_or_die "cvs -z3 export -r $SAMPLESTAG Samples >> $LOGFILE 2>&1"
cd $DIR
fi