diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 17:11:47 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 17:16:21 +0000 |
commit | 7b84f4aeaf7493ce9749e2661b47605e6c51bc9d (patch) | |
tree | 0a187ecc3e13aaf257303a0db40f8f65ee04e1e3 /sofort/ccenv | |
parent | d2854496d0f3abc8681628721c4ee211a9de8802 (diff) | |
download | bfirm-7b84f4aeaf7493ce9749e2661b47605e6c51bc9d.tar.bz2 bfirm-7b84f4aeaf7493ce9749e2661b47605e6c51bc9d.tar.xz |
build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 4 |
1 files 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' \ |