From 1c77a4e6f730965f1887fadb79cab076dbb7b64e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Jun 2018 12:21:06 +0200 Subject: lib/common-functions: download_sources_by_hash() from subdir named by hash type --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2