aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpt-lib.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 9b71eab..d8fd262 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -172,7 +172,7 @@ _stat() (
printf '%s' "$_user"
)
-_readlinkf() (
+_readlinkf() {
# Public domain POSIX sh readlink function by Koichi Nakashima
[ "${1:-}" ] || return 1
max_symlinks=40
@@ -206,7 +206,7 @@ _readlinkf() (
target=${link#*" $target -> "}
done
return 1
-)
+}
_get_digest() {
# Get digest algorithm from the given file. It looks for a header on the