Make sure not to tar up CVS directories if this ports tree is a CVS

checkout.

PR:		bin/165868
MFC after:	5 days
This commit is contained in:
Nathan Whitehorn 2012-03-09 02:23:03 +00:00
parent 84bb842bb4
commit 6f4fc34468
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232714

View File

@ -90,6 +90,7 @@ ports.txz:
mkdir -p ${DISTDIR}/usr
ln -fs ${PORTSDIR} ${DISTDIR}/usr/ports
cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/ports.txz \
--exclude CVS --exclude .svn \
--exclude usr/ports/distfiles --exclude usr/ports/packages \
--exclude 'usr/ports/INDEX*' --exclude work usr/ports