From 6d10a24d55bfdadcce69f3f0beb4c1a018af8060 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 10 Sep 2018 09:24:34 +0200 Subject: lib/common-functions: failsafe_sftp() new --- bin/copy-to-build-support | 2 +- bin/db-update | 2 +- bin/delete-packages | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support index 8024965..70e26e7 100755 --- a/bin/copy-to-build-support +++ b/bin/copy-to-build-support @@ -189,7 +189,7 @@ if [ -s "${tmp_dir}/to-copy" ]; then fi if [ -s "${tmp_dir}/sftp-command" ]; then - ${master_mirror_sftp_command} < \ + failsafe_sftp < \ "${tmp_dir}/sftp-command" fi diff --git a/bin/db-update b/bin/db-update index 6bdbf7e..367fb36 100755 --- a/bin/db-update +++ b/bin/db-update @@ -442,7 +442,7 @@ for source_stability in \ if ${no_action}; then sed 's|^|sftp: |' else - ${master_mirror_sftp_command} + failsafe_sftp fi if ${no_action}; then diff --git a/bin/delete-packages b/bin/delete-packages index 6d752d1..50fc853 100755 --- a/bin/delete-packages +++ b/bin/delete-packages @@ -398,4 +398,4 @@ sed ' s/^/rm "/ s/$/"/ ' "${tmp_dir}/package-files" | \ - ${master_mirror_sftp_command} + failsafe_sftp -- cgit v1.2.3-54-g00ecf