aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Gaël PORTAY <gael.portay@savoirfairelinux.com>2017-09-11 15:32:32 -0400
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-19 22:11:30 +0200
commitf9a52fad7b68667b93478854b5d07132acdfbef6 (patch)
treef041b41a1fedb482c942418302486786cbe92103 /support
parent74c5081467cc22232aa81ebe15571399eb06b0d7 (diff)
downloadbuildroot-f9a52fad7b68667b93478854b5d07132acdfbef6.tar.gz
buildroot-f9a52fad7b68667b93478854b5d07132acdfbef6.tar.bz2
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 <gael.portay@savoirfairelinux.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/download/check-hash5
1 files changed, 3 insertions, 2 deletions
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}"