cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 8fdce7c6fa245115b7255a635135f211fb8597e3
parent a6c599cc446ebdccb5b3a7f1cf455e84d6e9130f
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 14 May 2020 11:18:28 +0300

kiss: use $1 on hashcheck instead of $file

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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() {