diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 17:11:47 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 17:16:22 +0000 |
commit | 9fb7c360d4476f8a23a8805228d5e3cf07ec831e (patch) | |
tree | 2807eb6d74f6b7be6042bc74fd54522e58f977a9 /sofort | |
parent | cb7e8c7cb5692e00c1ac3d8894730529d0477c37 (diff) | |
download | ntapi-9fb7c360d4476f8a23a8805228d5e3cf07ec831e.tar.bz2 ntapi-9fb7c360d4476f8a23a8805228d5e3cf07ec831e.tar.xz |
build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines.
Diffstat (limited to 'sofort')
-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' \ |