aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-11-09 12:34:14 +0000
committermerakor <cem@ckyln.com>2021-11-09 12:34:14 +0000
commit3bd100bc38240ca7cf512fb0f7a9a3f68f5830b6 (patch)
tree66d7f83875d0e2ad670c05bacc7dae58e078ed68 /contrib
parent1cba6bc3be04d928aa5958e8435621bdb0711fae (diff)
parent458e2953caeb4034ac31e87ef54d7793d21cfa0b (diff)
downloadcpt-3bd100bc38240ca7cf512fb0f7a9a3f68f5830b6.tar.gz
merge 6.2.x branch
FossilOrigin-Name: b8a6b836398c80d01ca159297998732e8bd3b350cc5bb50515869afdb7d4a5d7
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/cpt-owns2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cpt-owns b/contrib/cpt-owns
index 9bc7d77..1f362d7 100755
--- a/contrib/cpt-owns
+++ b/contrib/cpt-owns
@@ -40,7 +40,7 @@ case "$1" in
esac
# Strip 'CPT_ROOT' from the file path if passed and follow symlinks.
-file="${1#$CPT_ROOT}"
+file="${1#"$CPT_ROOT"}"
dirname=$(_readlinkf "$CPT_ROOT/${file%/*}")
file="$dirname/${file##*/}"