cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 3e72b60ab4d0b53b263f39c9ad6316d266ef5970
parent c344688c863ab8c6c6321957db70c24d8db78e7e
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 15 May 2020 12:12:42 +0300

kiss-owns: fix a typo that caused failure

Diffstat:
Mcontrib/kiss-owns | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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.