From 232c5394bc866dbc63940f68cfd2fbe1f5731c47 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 10 Jan 2020 11:10:50 +0000 Subject: build system: ./configure: properly handle passing of args to dot scripts. --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3