aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-19 12:24:46 +0000
committermerakor <cem@ckyln.com>2021-07-19 12:24:46 +0000
commit42d6268a40a6fe553c4291f3772ad94ccba6339e (patch)
treea108ed4c11d67ab25beaed579436c49d462a7ffc /src
parent4bad691465af048b36e9ba47688435ae3b9fe708 (diff)
downloadcpt-42d6268a40a6fe553c4291f3772ad94ccba6339e.tar.gz
as_root: update environment variables
FossilOrigin-Name: 889c399abaf2e8924eccfe3fd9369693351e2fb020916d00a4d6be1745153a00
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 7e754e8..4b4d039 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -457,8 +457,10 @@ as_root() {
CPT_PATH="$CPT_PATH" \
CPT_PID="$CPT_PID" \
CPT_PROMPT="$CPT_PROMPT" \
+ CPT_REPO_CACHE="$CPT_REPO_CACHE" \
CPT_ROOT="$CPT_ROOT" \
CPT_TMPDIR="$CPT_TMPDIR" \
+ CPT_VERBOSE="$CPT_VERBOSE" \
"$@"
case ${su##*/} in