From 3be63fa06627ff2a09d92f3729f0818389702871 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2020 16:02:54 +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