cpt

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

commit ee6686679fe68ccba5245bba6b732bf5d4a762cb
parent 8ed61fa9ad2bb3fa69b9003484474f29ba6a5e36
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 31 Aug 2019 15:57:15 +0300

kiss: fix KISS_ROOT

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -967,7 +967,7 @@ args() { # Rerun the script with 'sudo' if the user isn't root. # Cheeky but 'sudo' can't be used on shell functions themselves. [ "$(id -u)" = 0 ] || { - sudo KISS_PATH=$KISS_PATH kiss "$action" "$@" + sudo -E kiss "$action" "$@" return } ;;