Add anti-foot-shooting measure.

Feature safe:	yes
This commit is contained in:
Mark Linimon 2011-01-23 03:06:44 +00:00
parent 883391196b
commit c53373e936
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268127

View File

@ -145,7 +145,7 @@ ${scp_cmd} ${client_user}@${host}:${chroot}/tmp/${pkgname}.log ${builddir}/logs/
# XXX Set dirty flag if any of the scp's fail
mkdir -p ${builddir}/distfiles/.pbtmp/${pkgname}
${ssh_cmd} -a -n ${client_user}@${host} tar -C ${chroot}/tmp/distfiles -cf - . | \
${ssh_cmd} -a -n ${client_user}@${host} tar -C ${chroot}/tmp/distfiles -exclude ${chroot}/tmp/distfiles/RESTRICTED -cf - . | \
tar --unlink -C ${builddir}/distfiles/.pbtmp/${pkgname} -xvf - && \
touch ${builddir}/distfiles/.pbtmp/${pkgname}/.done