diff options
author | Erich Eckner <git@eckner.net> | 2018-04-03 12:46:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-03 12:46:43 +0200 |
commit | cd5e7986a3fb4625e18bf590b92c290cc499cd7d (patch) | |
tree | 1b4096d2bb60abef6a6c64418509fa915983e8c8 /lib/common-functions | |
parent | 840af418f2711380b0f6f547e08486f84d5e6c19 (diff) | |
download | builder-cd5e7986a3fb4625e18bf590b92c290cc499cd7d.tar.xz |
lib/common-functions: download_sources_by_hash knows sha1sum, too, now
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 2 |
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 > \ |