diff options
author | midipix <writeonce@midipix.org> | 2021-04-15 14:24:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-15 14:26:08 +0000 |
commit | 877b130da6780f0b680a9d86ae948f042a9a214e (patch) | |
tree | df963df9c01ad8a1051cb108e4cc20f9c9e885b5 /configure | |
parent | 85aaefa7a7c88199d4751ebc3df7b654690cea97 (diff) | |
download | dalist-877b130da6780f0b680a9d86ae948f042a9a214e.tar.bz2 dalist-877b130da6780f0b680a9d86ae948f042a9a214e.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 |