aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-15 09:12:42 +0000
committermerakor <cem@ckyln.com>2020-05-15 09:12:42 +0000
commit9eeff679b41e92cf924eb8097095505340a33937 (patch)
tree08c2c2caefe3b2ce33acde237b2f8c0ec1585e64 /contrib
parentc3d40e131f300138cedecebe2bc8abe37fbc0ddb (diff)
downloadcpt-9eeff679b41e92cf924eb8097095505340a33937.tar.gz
kiss-owns: fix a typo that caused failure
FossilOrigin-Name: c75965145a4222efccdec44855d083766d527556500712448937f16cc3bf9337
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-owns2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-owns b/contrib/kiss-owns
index c048c86..3339bb5 100755
--- a/contrib/kiss-owns
+++ b/contrib/kiss-owns
@@ -6,7 +6,7 @@ case "$1" in ''|--help|-h) printf '%s\n' "usage: kiss-owns <file>" ; exit 0 ; es
# Strip 'KISS_ROOT' from the file path if passed and
# follow symlinks.
file="${1#$KISS_ROOT}"
-dirname=$(kiss-readlink "$KISS_ROOT/{$file%/*}")
+dirname=$(kiss-readlink "$KISS_ROOT/${file%/*}")
file="$dirname/${file##*/}"
# Check if the file exists and exit if it is not.