From 20eea599780df30f9988d846bba320d56d635e74 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 19 Jan 2018 17:09:27 +0100 Subject: [PATCH] Revert "upload-build.sh: Create upload directory before using rsync" This reverts commit d6d0c3c64477b109f484eabcfd9e2355c2fe642e. Revert as it's not useful because the host doesn't accept ssh connections. In this case, ssh will return exit code 0 but no work will be done. It can be easily tested with "ssh sysmocom-downloads ls /" which outputs nothing. Trying to acces a console through ssh errors directly with a message. --- scripts/upload-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upload-build.sh b/scripts/upload-build.sh index e52159e..2ef43c0 100755 --- a/scripts/upload-build.sh +++ b/scripts/upload-build.sh @@ -11,7 +11,6 @@ fi set -ex -ssh sysmocom-downloads mkdir -p $1/$2 rsync --delete -avz tmp/deploy/ipk/ sysmocom-downloads:$1/$2/ipk rsync --delete -avz tmp/deploy/images/ sysmocom-downloads:$1/$2/images rsync --delete -avz tmp/deploy/tools/ sysmocom-downloads:$1/$2/tools || true @@ -20,3 +19,4 @@ rsync --delete -avz tmp/cache/ sysmocom-downloads:$1/$2/cache-state rsync --delete -avz cache/ sysmocom-downloads:$1/$2/cache rsync --delete -avz conf/ sysmocom-downloads:$1/$2/conf rsync -avz tmp/deploy/sources/ sysmocom-downloads:$1/$2/sources +