summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-03 12:46:43 +0200
committerErich Eckner <git@eckner.net>2018-04-03 12:46:43 +0200
commitcd5e7986a3fb4625e18bf590b92c290cc499cd7d (patch)
tree1b4096d2bb60abef6a6c64418509fa915983e8c8
parent840af418f2711380b0f6f547e08486f84d5e6c19 (diff)
downloadbuilder-cd5e7986a3fb4625e18bf590b92c290cc499cd7d.tar.xz
lib/common-functions: download_sources_by_hash knows sha1sum, too, now
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index d2de0c4..4184b78 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -740,7 +740,7 @@ download_sources_by_hash() {
fi
for arch_suffix in '' '_i686'; do
- for sum_type in 'sha256sum' 'sha512sum'; do
+ for sum_type in 'sha1sum' 'sha256sum' 'sha512sum'; do
grep '^\s*'"${sum_type}s${arch_suffix}"' = ' "${tmp_dir}/.SRCINFO" | \
sed 's|^.* = ||' | \
cat -n > \