ccb1d8 build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines.

Authored and Committed by midipix 3 years ago
    build system: ccenv: ccenv_output_defs(): properly handle m4 comment lines.
    
        
file modified
+2 -2
sofort/ccenv/ccenv.sh CHANGED
@@ -1390,12 +1390,12 @@ ccenv_output_defs()
1390
1390
fi
1391
1391
1392
1392
ccenv_var_defs=
1393
- ccenv_sed_substs=
1393
+ ccenv_sed_substs="-e s/@ccenv_cfgtype@/${ccenv_cfgtype}/g"
1394
1394
1395
1395
ccenv_vars=$(cut -d'=' -f1 "$mb_project_dir/sofort/ccenv/ccenv.vars" \
1396
1396
| grep -v '^#');
1397
1397
1398
- ccenv_exvars="ccenv_cfgtype ccenv_makevar_prefix"
1398
+ ccenv_exvars="ccenv_makevar_prefix"
1399
1399
1400
1400
for __var in $(printf '%s' "$ccenv_vars $ccenv_exvars"); do
1401
1401
ccenv_sed_subst=$(printf '%s %s%s%s' \