linter: check build.sh for presence of 'TERMUX_PKG_MAINTAINER' field
This commit is contained in:
parent
8214a60e86
commit
8ac3d03bf7
@ -142,6 +142,14 @@ lint_package() {
|
|||||||
pkg_lint_error=true
|
pkg_lint_error=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -n "TERMUX_PKG_MAINTAINER: "
|
||||||
|
if [ -n "$TERMUX_PKG_MAINTAINER" ]; then
|
||||||
|
echo "PASS"
|
||||||
|
else
|
||||||
|
echo "NOT SET"
|
||||||
|
pkg_lint_error=true
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$TERMUX_PKG_API_LEVEL" ]; then
|
if [ -n "$TERMUX_PKG_API_LEVEL" ]; then
|
||||||
echo -n "TERMUX_PKG_API_LEVEL: "
|
echo -n "TERMUX_PKG_API_LEVEL: "
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user