summaryrefslogtreecommitdiffhomepage
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:06 +0000
commit9fb5ee7b0cee4ce7c3927411b76d70298f67e668 (patch)
tree5d513c5e4f8fd7715e924ec28bb02383774d8bbf
parent6671d243e0d52202ec97bec16dd4d879163d3060 (diff)
downloadpemagine-9fb5ee7b0cee4ce7c3927411b76d70298f67e668.tar.bz2
pemagine-9fb5ee7b0cee4ce7c3927411b76d70298f67e668.tar.xz
build system: ccenv: ccenv_set_primary_tools(): properly output explicit tools.
-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"