From 82c16e56796ffe3f8162b85af6e7f2e1306afb20 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 14 May 2020 08:18:27 +0000 Subject: kiss: use $1 on hashcheck instead of $file FossilOrigin-Name: 5a9e52739844fb41cbeda7b8cce71a4994f60280f378a398295a7517691b9537 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index b79a56a..8903276 100755 --- a/kiss +++ b/kiss @@ -110,7 +110,7 @@ hashcheck() { { sha256sum "$1" 2>/dev/null || sha256 -r "$1" 2>/dev/null || openssl dgst -r -sha256 "$1" || die "No sha256 program could be run." ;} | - while read -r hash file; do printf '%s %s\n' "$hash" "${file#\*}"; done + while read -r hash _; do printf '%s %s\n' "$hash" "$1"; done } pkg_lint() { -- cgit v1.2.3