From 5a222085a090fbe03d7fa0ba0d05af186a10abed Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 30 Aug 2015 21:22:09 +0200 Subject: reproducible: fixup rsync --- bin/reproducible_build.sh | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf