diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-30 21:22:09 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-30 21:22:09 +0200 |
commit | 5a222085a090fbe03d7fa0ba0d05af186a10abed (patch) | |
tree | 88af414a5efff2e15e27483d3b4e579b51d2d6e0 /bin | |
parent | cfc333be89ce487a605e7bee83920dced3b91837 (diff) | |
download | jenkins.debian.net-5a222085a090fbe03d7fa0ba0d05af186a10abed.tar.xz |
reproducible: fixup rsync
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 709e1072..107f3fa7 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -519,7 +519,7 @@ build_rebuild() { first_build else ssh -p $PORT1 $NODE1 /srv/jenkins/bin/reproducible_build.sh 1 ${SRCPACKAGE} ${SUITE} - rsync -e 'ssh -p $PORT1' -r $NODE1:$PWD/b1 . + rsync -e "ssh -p $PORT1" -r $NODE1:$PWD/b1 . ssh -p $PORT1 $NODE1 "rm -r $PWD/b1" fi if [ -f b1/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then @@ -532,7 +532,7 @@ build_rebuild() { second_build else ssh -p $PORT2 $NODE2 /srv/jenkins/bin/reproducible_build.sh 2 - scp -P $PORT2 -r $NODE2:$PWD/b2 . + rsync -e "ssh -p $PORT2" -r $NODE2:$PWD/b2 . ssh -p $PORT2 $NODE2 "rm -r $PWD/b2" fi if [ -f b2/${SRCPACKAGE}_${EVERSION}_${ARCH}.changes ] ; then |