From 9eeff679b41e92cf924eb8097095505340a33937 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 15 May 2020 09:12:42 +0000 Subject: kiss-owns: fix a typo that caused failure FossilOrigin-Name: c75965145a4222efccdec44855d083766d527556500712448937f16cc3bf9337 --- contrib/kiss-owns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " ; 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. -- cgit v1.2.3