Skip to contentSkip to conversation

support/download: fix check_one_hash description

PATCH New Gaël PORTAY 3 participants 3 messages Sep 11, 2017 – Sep 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/download: fix check_one_hash description

Function check_one_hash takes three arguments:
- algo hash
- known hash
- file to hash

---
 support/download/check-hash | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
support/download/check-hash +3 -2
index c1ff53c02b..fe9c10570e 100755
@@ -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}"
Signature · 1 line
2.13.2
#1 lore raw

PATCH 1/1 support/download: fix check_one_hash description

Ga?l, All,

On 2017-09-11 15:32 -0400, Ga?l PORTAY spake thusly:

Quoted 6 lines

Function check_one_hash takes three arguments:
- algo hash
- known hash
- file to hash

Thanks! :-)

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 support/download/check-hash | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
support/download/check-hash +3 -2
index c1ff53c02b..fe9c10570e 100755
@@ -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}"
Signature · 1 line
2.13.2
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 support/download: fix check_one_hash description

In reply to Gaël PORTAY
Quoted 6 lines · Ga?l PORTAY

Function check_one_hash takes three arguments:
- algo hash
- known hash
- file to hash

Applied to master, thanks.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF