Remove 'debian' directory before creating tarballs

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3096 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-11-29 23:53:28 +00:00
parent f6a233c35a
commit 64803def03

View File

@ -308,6 +308,8 @@ if [ -n "${BUILDTARBALL}${BUILDRPM}" ]; then
cd $DIR
fi
do_or_die "rm -rf $SHOREWALLDIR/debian"
if [ -n "$BUILDTARBALL" ]; then
progress_message "Creating $DIR/$TARBALL..."
do_or_die "tar -zcvf $TARBALL $SHOREWALLDIR >> $LOGFILE 2>&1"