check pkgname and pkgver are set
This commit is contained in:
parent
34bc152a8b
commit
33cc849fc8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue