aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-lib
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 /src/cpt-lib
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
Diffstat (limited to 'src/cpt-lib')
-rw-r--r--src/cpt-lib4
1 files changed, 2 insertions, 2 deletions
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() (