From 794745e7f07a920522e71287c32216f1c803b524 Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 15 2021 14:26:08 +0000 Subject: build system: configure: require $mb_package to be set (in config.project). --- diff --git a/configure b/configure index 7c51b56..5dff097 100755 --- a/configure +++ b/configure @@ -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