Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-06 12:21:06 +0200
committerErich Eckner <git@eckner.net>2018-06-06 12:21:06 +0200
commit1c77a4e6f730965f1887fadb79cab076dbb7b64e (patch)
treebcd74d263480086b0801cd5b4723e0b63b389169 /lib/common-functions
parent8a8ec0e303c649fd03ff126028c4d2d1c66cae91 (diff)
lib/common-functions: download_sources_by_hash() from subdir named by hash type
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 921a7b3..329e2e3 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -532,7 +532,7 @@ download_sources_by_hash() {
# the correct source is already there
continue
fi
- if wget -O "${tmp_dir}/transfer" "${source_by_hash_mirror}${sum}"; then
+ if wget -O "${tmp_dir}/transfer" "${source_by_hash_mirror}${sum_type}/${sum}"; then
mv "${tmp_dir}/transfer" "${file}"
return_value=0
fi