aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-14 08:18:27 +0000
committermerakor <cem@ckyln.com>2020-05-14 08:18:27 +0000
commit82c16e56796ffe3f8162b85af6e7f2e1306afb20 (patch)
tree590ab41cdeae1e780ee2ad8a753e709cc7347433 /kiss
parente77e14b855df5ac47a65f8dcd0d64deb380aefdd (diff)
downloadcpt-82c16e56796ffe3f8162b85af6e7f2e1306afb20.tar.gz
kiss: use $1 on hashcheck instead of $file
FossilOrigin-Name: 5a9e52739844fb41cbeda7b8cce71a4994f60280f378a398295a7517691b9537
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
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() {