aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-01-23 11:06:44 +0800
committerlinimon <linimon@FreeBSD.org>2011-01-23 11:06:44 +0800
commitbb6abaeda46c75fc9cdcddc3ec6ce25ab774b78f (patch)
treea4d59eaf7a4a8cd7ec20c6925527473c741f4b2d
parentdf74d01fc4dfd352bbb792a7262e3c44baec7eb9 (diff)
downloadfreebsd-ports-gnome-bb6abaeda46c75fc9cdcddc3ec6ce25ab774b78f.tar.gz
freebsd-ports-gnome-bb6abaeda46c75fc9cdcddc3ec6ce25ab774b78f.tar.zst
freebsd-ports-gnome-bb6abaeda46c75fc9cdcddc3ec6ce25ab774b78f.zip
Add anti-foot-shooting measure.
Feature safe: yes
-rwxr-xr-xTools/portbuild/scripts/pdispatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch
index 4d7f4be8c31e..61399b66c86f 100755
--- a/Tools/portbuild/scripts/pdispatch
+++ b/Tools/portbuild/scripts/pdispatch
@@ -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