From 3380d3391d77b459fb5e892095751f3303c70fec Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 9 Nov 2021 09:59:57 +0000 Subject: cpt-owns: fix shellcheck error FossilOrigin-Name: d5627faf00fe2b32a342c76e2063928f01079a5c463a192646a1fda00ce975a0 --- contrib/cpt-owns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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##*/}" -- cgit v1.2.3