diff options
author | midipix <writeonce@midipix.org> | 2020-01-10 11:10:50 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-01-10 16:02:52 +0000 |
commit | 945e218d644738825ba1bff1a65c21ff3078749e (patch) | |
tree | fecdb7bce88d85e1457ce00d2f89ff765d4d0c86 | |
parent | 4d92f74b79d630e52f57ba505d585205840f250b (diff) | |
download | apimagic-945e218d644738825ba1bff1a65c21ff3078749e.tar.bz2 apimagic-945e218d644738825ba1bff1a65c21ff3078749e.tar.xz |
build system: ./configure: properly handle passing of args to dot scripts.
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |