From 2cd21b799f688dcdf3c05fde254f29e751dda384 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2020 16:02:53 +0000 Subject: build system: ./configure: properly handle passing of args to dot scripts. --- diff --git a/configure b/configure index 76fc5b8..66e2b34 100755 --- a/configure +++ b/configure @@ -529,6 +529,11 @@ config_ccenv() config_copy } +config_custom_cfgdefs() +{ + . $mb_project_dir/project/config/cfgdefs.sh +} + config_custom() { if [ _$mb_use_custom_cfgdefs = _yes ]; then @@ -536,8 +541,7 @@ config_custom() output_script_status ${mb_script} \ 'invoking project-specific cfgdefs.sh' - eval . $mb_project_dir/project/config/cfgdefs.sh \ - "$mb_custom_cfgdefs_args" + eval config_custom_cfgdefs "$mb_custom_cfgdefs_args" output_section_break config_copy