Exclude potential circular symlink

This does not occur with normal release builds but can happen when reusing
these release parts for other purposes.
This commit is contained in:
emaste 2012-10-15 17:19:47 +00:00
parent 63d5921420
commit 01647c1f15

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 --exclude @ usr/src
--exclude CVS --exclude @ --exclude usr/src/release/dist usr/src
ports.txz:
mkdir -p ${DISTDIR}/usr