diff options
author | midipix <writeonce@midipix.org> | 2021-04-15 14:24:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-15 14:24:55 +0000 |
commit | 73e2f385f368eab83d997d4fdc550c05797d499c (patch) | |
tree | de7e8e9f8f8e250f7ad1c3eec0431a2728a91396 | |
parent | cc0827cebd811eab83d091ffde3780e5c0084160 (diff) | |
download | slibtool-73e2f385f368eab83d997d4fdc550c05797d499c.tar.bz2 slibtool-73e2f385f368eab83d997d4fdc550c05797d499c.tar.xz |
build system: configure: require $mb_package to be set (in config.project).
-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 |