diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-17 21:13:00 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-17 21:13:00 +0200 |
commit | 1b7f5abf613c31ad0fe4b92e77027abf80679657 (patch) | |
tree | 1475034280c920b9a14b471dad7f46c2392c43aa | |
parent | 4c33d419b112e4c276456da5c054755e07dd400f (diff) | |
download | jenkins.debian.net-1b7f5abf613c31ad0fe4b92e77027abf80679657.tar.xz |
Revert "use `rsync --delete` instead of `cp` while copying jenkins scripts so old files can be removed from the target directory"
This reverts commit 4c33d419b112e4c276456da5c054755e07dd400f.
-rwxr-xr-x | update_jdn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index cc91ab5a..e99bf87a 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -445,7 +445,7 @@ explain "packages configured." cd $BASEDIR [ -d /srv/jenkins/features ] && sudo rm -rf /srv/jenkins/features for dir in bin logparse cucumber live ; do - sudo rsync -rpt --delete -n $dir /srv/jenkins/ + sudo cp --preserve=mode,timestamps -r $dir /srv/jenkins/ sudo chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir done HOST_JOBS="hosts/$HOSTNAME/job-cfg" |