From 703b9f1ca5fe85dabd70761966f1367cac173eaf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 30 Aug 2017 16:10:15 +0200 Subject: bin/common-functions: download_sources_by_hash: skip "SKIP"-sums --- bin/common-functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/common-functions b/bin/common-functions index 9b8f483..377efe5 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -744,6 +744,9 @@ download_sources_by_hash() { join -1 1 -2 1 -o 1.2,2.2 "${tmp_dir}/sums" "${tmp_dir}/urls" > \ "${tmp_dir}/joined" while read -r sum file; do + if [ "${sum}" = 'SKIP' ]; then + continue + fi if echo "${sum} ${file}" | \ ${sum_type} -c > /dev/null 2>&1; then # the correct source is already there -- cgit v1.2.3