cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit 45c60fc9efd12b2b0e7265e8c6875cb2e8100221
parent b3013fc0c5625f379de46ed4c7abfb79c0da8ea8
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 11 Aug 2020 13:32:03 +0300

as_root(): set all variables

Diffstat:
Msrc/cpt-lib | 14+++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/cpt-lib b/src/cpt-lib @@ -79,15 +79,19 @@ as_root() { # repository paths / access to the same cache directories etc. set -- HOME="$HOME" \ XDG_CACHE_HOME="$XDG_CACHE_HOME" \ - CPT_PATH="$CPT_PATH" \ + CPT_CACHE="$CPT_CACHE" \ + CPT_CHOICE="$CPT_CHOICE" \ + CPT_COMPRESS="$CPT_COMPRESS" \ + CPT_DEBUG="$CPT_DEBUG" \ + CPT_FETCH="$CPT_FETCH" \ CPT_FORCE="$CPT_FORCE" \ CPT_HOOK="$CPT_HOOK" \ + CPT_KEEPLOG="$CPT_KEEPLOG" \ + CPT_PATH="$CPT_PATH" \ + CPT_PID="$CPT_PID" \ + CPT_PROMPT="$CPT_PROMPT" \ CPT_ROOT="$CPT_ROOT" \ - CPT_CHOICE="$CPT_CHOICE" \ - CPT_CACHE="$CPT_CACHE" \ CPT_TMPDIR="$CPT_TMPDIR" \ - CPT_HOOK="$CPT_HOOK" \ - CPT_PID="$CPT_PID" \ "$@" case ${su##*/} in