aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-owns
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cpt-owns')
-rwxr-xr-xcontrib/cpt-owns2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cpt-owns b/contrib/cpt-owns
index 5f73674..494e0fd 100755
--- a/contrib/cpt-owns
+++ b/contrib/cpt-owns
@@ -17,7 +17,7 @@ esac
# Strip 'CPT_ROOT' from the file path if passed and
# follow symlinks.
file="${1#$CPT_ROOT}"
-dirname=$(cpt-readlink "$CPT_ROOT/${file%/*}")
+dirname=$(_readlinkf "$CPT_ROOT/${file%/*}")
file="$dirname/${file##*/}"
# Check if the file exists and exit if it is not.