aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-07-30 03:39:30 +0800
committerkris <kris@FreeBSD.org>2007-07-30 03:39:30 +0800
commit19a0ac0c8acc981139a39785a0b7aae181230372 (patch)
tree092648b328b01b72e042a653d4efe7ba80641dd5 /Tools/portbuild
parente31c1b3fd9be5a318ab7b56468ad5de6f73766b0 (diff)
downloadfreebsd-ports-gnome-19a0ac0c8acc981139a39785a0b7aae181230372.tar.gz
freebsd-ports-gnome-19a0ac0c8acc981139a39785a0b7aae181230372.tar.zst
freebsd-ports-gnome-19a0ac0c8acc981139a39785a0b7aae181230372.zip
Use rsync -L instead of rsync -l to deal with the fact that we like to
symlink ports and src trees elsewhere. With -l this would turn a populated tree into a dangling symlink.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/dosetupnode4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/dosetupnode b/Tools/portbuild/scripts/dosetupnode
index cb49b80bd457..9dc5edfebae3 100755
--- a/Tools/portbuild/scripts/dosetupnode
+++ b/Tools/portbuild/scripts/dosetupnode
@@ -36,8 +36,8 @@ ssh -n ${client_user}@${node} ${sudo_cmd} sh /tmp/setupnode ${nocopy} $(hostname
if [ "${disconnected}" = 1 -a "${norsync}" = 0 ]; then
rsync ${rsync_gzip} -r -l -p --delete ${pb}/scripts ${client_user}@${node}:${pb}/
rsync ${rsync_gzip} -r -l -p --delete ${pb}/${arch}/portbuild* ${client_user}@${node}:${pb}/${arch}
- rsync ${rsync_gzip} -r -l -p --delete ${pb}/${arch}/${branch}/ports ${client_user}@${node}:${pb}/${arch}/${branch}
- rsync ${rsync_gzip} -r -l -p --delete ${pb}/${arch}/${branch}/src ${client_user}@${node}:${pb}/${arch}/${branch}
+ rsync ${rsync_gzip} -r -L -p --delete ${pb}/${arch}/${branch}/ports ${client_user}@${node}:${pb}/${arch}/${branch}
+ rsync ${rsync_gzip} -r -L -p --delete ${pb}/${arch}/${branch}/src ${client_user}@${node}:${pb}/${arch}/${branch}
rsync ${rsync_gzip} -r -L -p --delete ${pb}/${arch}/${branch}/tarballs/ ${client_user}@${node}:${pb}/${arch}/${branch}/tarballs/
fi