handle/make/config: check project in main()

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-26 02:01:43 +01:00
parent f052f61fb7
commit b5628131ba
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ main()
shift; project="${OPTARG}"; shift
done
[ -z "${mode}" ] && fail "mode not given (-m, -u, -b, -c or -x)"
[ -z "${project}" ] && fail "project name not specified"
handle_dependencies $@
handle_targets