Prevent concatenated copies of release notes being staged

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8131 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-02-01 16:13:48 +00:00
parent 1a5675c3d3
commit 8b7e84a807

View File

@ -200,11 +200,7 @@ esac
[ -n "$PARTIAL" ] && SHOREWALLDIR=shorewall-common || SHOREWALLDIR=$SHOREWALL-${1}
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
cat $SHOREWALLDIR/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
else
cat $SHOREWALLDIR/releasenotes.txt > releasenotes.txt
fi
cp $SHOREWALLDIR/releasenotes.txt releasenotes.txt
if [ "$HOSTNAME" = lists ]; then
mkdir -p $DEST