From: Gaël PORTAY Date: Mon, 11 Sep 2017 19:32:32 +0000 (-0400) Subject: support/download: fix check_one_hash description X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9a52fad7b68667b93478854b5d07132acdfbef6;p=buildroot.git support/download: fix check_one_hash description Function check_one_hash takes three arguments: - algo hash - known hash - file to hash Signed-off-by: Gaël PORTAY Acked-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/support/download/check-hash b/support/download/check-hash index c1ff53c02b..fe9c10570e 100755 --- a/support/download/check-hash +++ b/support/download/check-hash @@ -42,8 +42,9 @@ if [ ! -f "${h_file}" ]; then fi # Check one hash for a file -# $1: known hash -# $2: file (full path) +# $1: algo hash +# $2: known hash +# $3: file (full path) check_one_hash() { _h="${1}" _known="${2}"