Exclude potential circular symlink when creating src tarball.

Normal release builds are not affected by this but it can happen if using
these release bits against a work tree.

Sponsored by: ADARA Networks
This commit is contained in:
Ed Maste 2012-10-11 18:41:32 +00:00
parent 10fcb07c91
commit f0c51ba5c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241451

View File

@ -84,7 +84,7 @@ src.txz:
mkdir -p ${DISTDIR}/usr
ln -fs ${WORLDDIR} ${DISTDIR}/usr/src
cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn \
--exclude CVS usr/src
--exclude CVS --exclude @ usr/src
ports.txz:
mkdir -p ${DISTDIR}/usr