diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-30 21:13:52 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-30 21:13:52 +0200 |
commit | 79eb526c76d0ed451741dc6234d10e2463acffe6 (patch) | |
tree | e44fa4f63911e3523b390d892241ed08ab481677 /bin | |
parent | d74094f03104000cc8e7c52d519136e3d5f48b71 (diff) | |
download | jenkins.debian.net-79eb526c76d0ed451741dc6234d10e2463acffe6.tar.xz |
reproducible: use rsync instead of scp
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 7c6bd80b..709e1072 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} - scp -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 |