cpt

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

commit fa07e560e28f7f1c4c33533a96eb4fa92508f6b8
parent 4dcfdfc0222ea05c57367db77916e1f25e53ee33
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 15 Apr 2020 11:26:43 +0300

kiss: fix possible KISS_ROOT usage

Diffstat:
Mkiss | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/kiss b/kiss @@ -1394,6 +1394,10 @@ main() { # This is used enough to warrant a place here. uid=$(id -u) + # Make sure that the KISS_ROOT doesn't end with a '/'. This might + # break some operations. + KISS_ROOT=${KISS_ROOT%/} + # This allows for automatic setup of a KISS chroot and will # do nothing on a normal system. mkdir -p "${sys_db:=$KISS_ROOT/$pkg_db}" 2>/dev/null ||: