diff options
author | midipix <writeonce@midipix.org> | 2021-04-15 14:24:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-15 14:26:11 +0000 |
commit | 4168626dd6248d24e98d16c2028a937091b93dd0 (patch) | |
tree | c1f85cf40615656320725458d650e4eb64133f22 /configure | |
parent | e5b3265c734b05c6e48b1b7ccda3f7ba66703fda (diff) | |
download | tpax-4168626dd6248d24e98d16c2028a937091b93dd0.tar.bz2 tpax-4168626dd6248d24e98d16c2028a937091b93dd0.tar.xz |
build system: configure: require $mb_package to be set (in config.project).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -170,9 +170,16 @@ init_vars() # config.project if [ -z "$mb_config" ]; then - . $mb_project_dir/config.project - else - . "$mb_config" + mb_config="$mb_project_dir/config.project" + fi + + . "$mb_config" + + # package + if [ -z "$mb_package" ]; then + error_msg "$mb_script: incomplete information in $mb_config." + error_msg "$mb_script: \$mb_package not set." + exit 1 fi # srcinfo |