From 650a936486856024718ce9737c854ea56155437c Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 31 Aug 2020 15:35:07 +0000 Subject: cpt: revert to previous method for sh256() This affects only file names and not git repositories. FossilOrigin-Name: c2f6cf07bac7138c17731f2006a38d1590cfb129faae3fe1727b8d487712b400 --- src/cpt-lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpt-lib') diff --git a/src/cpt-lib b/src/cpt-lib index 4b05049..288838c 100644 --- a/src/cpt-lib +++ b/src/cpt-lib @@ -8,7 +8,7 @@ # Currently maintained by Cem Keylan. version() { - log "Carbs Packaging Tools" 3.3.0 + log "Carbs Packaging Tools" 3.3.1 exit 0 } @@ -387,7 +387,7 @@ sh256() { openssl dgst -r -sha256 "$1" || die "No sha256 program could be run." ;} | - while read -r hash _; do printf '%s\n' "$hash"; done + while read -r hash _; do printf '%s %s\n' "$hash" "$1"; done } pkg_isbuilt() ( -- cgit v1.2.3