diff options
author | merakor <cem@ckyln.com> | 2020-05-14 08:18:27 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-14 08:18:27 +0000 |
commit | 82c16e56796ffe3f8162b85af6e7f2e1306afb20 (patch) | |
tree | 590ab41cdeae1e780ee2ad8a753e709cc7347433 | |
parent | e77e14b855df5ac47a65f8dcd0d64deb380aefdd (diff) | |
download | cpt-82c16e56796ffe3f8162b85af6e7f2e1306afb20.tar.gz |
kiss: use $1 on hashcheck instead of $file
FossilOrigin-Name: 5a9e52739844fb41cbeda7b8cce71a4994f60280f378a398295a7517691b9537
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |