forked from kiss-community/kiss
kiss: Remove up to 3 trailing slashes from KISS_ROOT. Closes #165
This commit is contained in:
parent
929270cdbf
commit
c41f7b2e0b
2
kiss
2
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}
|
||||
|
Loading…
Reference in New Issue
Block a user