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 --- CHANGELOG.md | 9 ++++++++- src/cpt-lib | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bae8d4..1ad0a4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,14 @@ this project _somewhat_ adheres to [Semantic Versioning]. [Semantic Versioning]: https://semver.org/spec/v2.0.0.html -3.3.0 - 2020-08-22 +3.3.1 - 2020-08-31 +-------------------------------------------------------------------------------- + +### Changed +- Reverted `sh256()` to the previous way. + + +3.3.0 - 2020-08-31 -------------------------------------------------------------------------------- ### Added 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