Change rsync -l to -L for the tarballs/ directory (so that dangling
symlinks are not created on the target) and rsync the entire directory so that extra files are deleted.
This commit is contained in:
parent
ecf7b5e313
commit
d23d4aaa34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132306
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if [ "${disconnected}" = 1 -a "${norsync}" = 0 ]; then
|
|||
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}/doc ${client_user}@${node}:${pb}/${arch}/${branch}
|
||||
rsync ${rsync_gzip} -r -l -p --delete ${pb}/${arch}/${branch}/tarballs/bindist* ${client_user}@${node}:${pb}/${arch}/${branch}/tarballs
|
||||
rsync ${rsync_gzip} -r -L -p --delete ${pb}/${arch}/${branch}/tarballs/ ${client_user}@${node}:${pb}/${arch}/${branch}/tarballs/
|
||||
fi
|
||||
|
||||
lockf ${pb}/${arch}/queue/.lock ${pb}/scripts/pollmachine ${arch} ${node} -queue
|
||||
|
|
Loading…
Reference in a new issue