diff options
author | Erich Eckner <git@eckner.net> | 2017-08-30 16:10:15 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-30 16:10:15 +0200 |
commit | 703b9f1ca5fe85dabd70761966f1367cac173eaf (patch) | |
tree | b931bfd875fe496c6433a5cf5fb49fdcfd0891fd /bin/common-functions | |
parent | fe59a5733ce913fb5dd39ca51e309c49cf9822f9 (diff) | |
download | builder-703b9f1ca5fe85dabd70761966f1367cac173eaf.tar.xz |
bin/common-functions: download_sources_by_hash: skip "SKIP"-sums
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-x | bin/common-functions | 3 |
1 files changed, 3 insertions, 0 deletions
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 |