Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-30 16:10:15 +0200
committerErich Eckner <git@eckner.net>2017-08-30 16:10:15 +0200
commit703b9f1ca5fe85dabd70761966f1367cac173eaf (patch)
treeb931bfd875fe496c6433a5cf5fb49fdcfd0891fd /bin/common-functions
parentfe59a5733ce913fb5dd39ca51e309c49cf9822f9 (diff)
bin/common-functions: download_sources_by_hash: skip "SKIP"-sums
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions3
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