From c41f7b2e0bc5cc9a8e45d1ed6e2f416836ba7ffe Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 21 Jun 2020 18:08:56 +0300 Subject: [PATCH] kiss: Remove up to 3 trailing slashes from KISS_ROOT. Closes #165 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index e497e7a..35d5087 100755 --- a/kiss +++ b/kiss @@ -1505,7 +1505,7 @@ main() { # Make sure that the KISS_ROOT doesn't end with a '/'. This might break # some operations if left unchecked. - KISS_ROOT=${KISS_ROOT%/} + KISS_ROOT=${KISS_ROOT%/} KISS_ROOT=${KISS_ROOT%/} KISS_ROOT=${KISS_ROOT%/} # Define some paths which we will then use throughout the script. sys_db=$KISS_ROOT/${pkg_db:=var/db/kiss/installed}