diff options
author | midipix <writeonce@midipix.org> | 2021-04-15 14:24:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-15 14:26:09 +0000 |
commit | a91c4453f636aa824b330ca476eb25d063757cc2 (patch) | |
tree | d45b07a7e450193040748a4e6ad7dd470b672c8e | |
parent | 843c190c418451fd70281365659f903a2dc180c7 (diff) | |
download | perk-a91c4453f636aa824b330ca476eb25d063757cc2.tar.bz2 perk-a91c4453f636aa824b330ca476eb25d063757cc2.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 |