Message ID | 20170911193232.3072-1-gael.portay@savoirfairelinux.com |
---|---|
State | Accepted |
Headers | show |
Series | support/download: fix check_one_hash description | expand |
Gaël, All, On 2017-09-11 15:32 -0400, Gaël PORTAY spake thusly: > 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> Thanks! :-) Regards, Yann E. MORIN. > --- > support/download/check-hash | 5 +++-- > 1 file 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}" > -- > 2.13.2 >
On 11-09-17 21:32, Gaël PORTAY wrote: > Function check_one_hash takes three arguments: > - algo hash > - known hash > - file to hash > > Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Applied to master, thanks. Regards, Arnout
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}"
Function check_one_hash takes three arguments: - algo hash - known hash - file to hash Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> --- support/download/check-hash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)