Fix silly bug in tag script; rename a variable

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7914 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-12-15 15:38:41 +00:00
parent 17c0808813
commit 161d2df924

View File

@ -4,7 +4,6 @@
#
# (C) 2007 -- Tom Eastep (teastep@shorewall.net)
#
#
# This program is under GPL [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]
#
# This program is free software; you can redistribute it and/or modify
@ -46,11 +45,11 @@ svn mkdir $VERSION
cd $VERSION
for package in shorewall-common shorewall-shell shorewall-lite shorewall-perl manpages manpages-lite Samples; do
if [ -d $BRANCH/$package ]; then
rm -f $BRANCH/$package/*~
[ -d $BRANCH/Shorewall ] && rm -f $BRANCH/$package/Shorewall/*~
svn cp $BRANCH/$package/ .
for directory in shorewall-common shorewall-shell shorewall-lite shorewall-perl manpages manpages-lite Samples; do
if [ -d $BRANCH/$directory ]; then
rm -f $BRANCH/$directory/*~
[ -d $BRANCH/$directory/Shorewall ] && rm -f $BRANCH/$directory/Shorewall/*~
svn cp $BRANCH/$directory/ .
fi
fi