From 49b7811316aad80817fd17160c7aa502e5765bb6 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 12 2021 10:45:11 +0000 Subject: build system: ccenv: ccenv_set_primary_tools(): properly output explicit tools. --- 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"