From d346c1b71a9a40b1cacc88fe1103c8459b6db241 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Jun 2021 17:11:47 +0000 Subject: build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines. --- sofort/ccenv/ccenv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh index f05ff49..d1d6085 100644 --- a/sofort/ccenv/ccenv.sh +++ b/sofort/ccenv/ccenv.sh @@ -1390,12 +1390,12 @@ ccenv_output_defs() fi ccenv_var_defs= - ccenv_sed_substs= + ccenv_sed_substs="-e s/@ccenv_cfgtype@/${ccenv_cfgtype}/g" ccenv_vars=$(cut -d'=' -f1 "$mb_project_dir/sofort/ccenv/ccenv.vars" \ | grep -v '^#'); - ccenv_exvars="ccenv_cfgtype ccenv_makevar_prefix" + ccenv_exvars="ccenv_makevar_prefix" for __var in $(printf '%s' "$ccenv_vars $ccenv_exvars"); do ccenv_sed_subst=$(printf '%s %s%s%s' \ -- cgit v1.2.3