summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 17:11:47 +0000
committermidipix <writeonce@midipix.org>2021-06-05 17:16:24 +0000
commit8c7382137cd00cea4f0f45fcaef0a14f4f8ba0fd (patch)
tree5ddf665b9e5156f76b2f95b7127d4b0f586766cf
parent032d7348997ce013034f4f50d5a341617d7818c2 (diff)
downloadsltdl-8c7382137cd00cea4f0f45fcaef0a14f4f8ba0fd.tar.bz2
sltdl-8c7382137cd00cea4f0f45fcaef0a14f4f8ba0fd.tar.xz
build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines.
-rw-r--r--sofort/ccenv/ccenv.sh4
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' \