summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-11 14:57:25 +0000
committermidipix <writeonce@midipix.org>2021-06-12 10:45:02 +0000
commit25fdd187f43ea5254eaf4d330e7b6cf809abd732 (patch)
tree0adece49c917ecc79aa9a213c6ae6f7e67361210 /sofort/ccenv
parent2c19d88e7ecbdbad8680b5022f423e677ef2ab3b (diff)
downloadbfirm-25fdd187f43ea5254eaf4d330e7b6cf809abd732.tar.bz2
bfirm-25fdd187f43ea5254eaf4d330e7b6cf809abd732.tar.xz
build system: ccenv: ccenv_set_primary_tools(): properly output explicit tools.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r--sofort/ccenv/ccenv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index e52f640..e66614a 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -220,12 +220,14 @@ ccenv_set_primary_tools()
ccenv_var_prefix='mb_native_'
fi
+ ccenv_tool=
ccenv_var_name=$ccenv_var_prefix$__tool
ccenv_var_expr='${'$ccenv_var_name':-}'
eval ccenv_var_val=$ccenv_var_expr
if [ -n "$ccenv_var_val" ]; then
eval ccenv_$__tool="$ccenv_var_val"
+ ccenv_tool="$ccenv_var_val"
else
ccenv_find_tool
eval ccenv_$__tool="$ccenv_tool"