check pkgname and pkgver are set

This commit is contained in:
Ella Stanforth 2021-11-01 10:15:47 +00:00
parent 34bc152a8b
commit 33cc849fc8

View file

@ -79,6 +79,8 @@ assert_file build.sh
. ./build.sh
[ -n "$pkgname" ] || fatal "build.sh not sane: pkgname not defined"
[ -n "$pkgver" ] || fatal "build.sh not sane: pkgver not defined"
assert_func fetch
assert_func build
assert_func package