aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() (