From ad463afa2d41e42463476e43436eac224bac1de3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 1 Nov 2017 10:28:05 +0100 Subject: () -> {} --- bin/db-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/db-update') diff --git a/bin/db-update b/bin/db-update index f304d7b..d62497e 100755 --- a/bin/db-update +++ b/bin/db-update @@ -243,7 +243,7 @@ move_packages() { # move the packages remotely via sftp - ( + { while read -r package; do if [ -z "${package}" ]; then @@ -264,7 +264,7 @@ move_packages() { done < \ "${tmp_dir}/tmp/packages" echo 'quit' - ) | \ + } | \ if ${no_action}; then sed 's|^|sftp: |' else -- cgit v1.2.3-70-g09d2