From 42d6268a40a6fe553c4291f3772ad94ccba6339e Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 19 Jul 2021 12:24:46 +0000 Subject: as_root: update environment variables FossilOrigin-Name: 889c399abaf2e8924eccfe3fd9369693351e2fb020916d00a4d6be1745153a00 --- src/cpt-lib.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3