aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-08-31 15:35:07 +0000
committermerakor <cem@ckyln.com>2020-08-31 15:35:07 +0000
commit650a936486856024718ce9737c854ea56155437c (patch)
tree7dd74d0b9975f395207db2bafe679641edbc3862
parent53251fa6c192e58c233b667bce432528f3014438 (diff)
downloadcpt-3.3.1.tar.gz
cpt: revert to previous method for sh256()3.3.1
This affects only file names and not git repositories. FossilOrigin-Name: c2f6cf07bac7138c17731f2006a38d1590cfb129faae3fe1727b8d487712b400
-rw-r--r--CHANGELOG.md9
-rw-r--r--src/cpt-lib4
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() (