aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-12-30 18:44:25 +0000
committermerakor <cem@ckyln.com>2020-12-30 18:44:25 +0000
commitaa37203daeab4bb014ffb228f113530997ed3e9b (patch)
tree56e215699ed8ad8488826ae700b116a6dfdbc1d1 /src
parent3a19c9c9c473ee0141de2e511fec931723f5ba95 (diff)
downloadcpt-aa37203daeab4bb014ffb228f113530997ed3e9b.tar.gz
as_root(): add CPT_CROSS_TRIPLET variable
FossilOrigin-Name: 0cdda926b646cca145917f5d965051b7a63d155fb188e083bc3e8fccadcd760e
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index cf39b97..1f9ca83 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -385,6 +385,7 @@ as_root() {
CPT_PID="$CPT_PID" \
CPT_PROMPT="$CPT_PROMPT" \
CPT_ROOT="$CPT_ROOT" \
+ CPT_CROSS_TRIPLET="$CPT_CROSS_TRIPLET" \
CPT_TMPDIR="$CPT_TMPDIR" \
"$@"