summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
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