From 14755df06f4727f261a8174502754acd7243ab75 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Thu, 31 Jan 2019 02:04:56 +0000 Subject: libmakepkg: lint disallowed variables in package() makepkg will now error if disallowed variables are set inside of the package function. Disallowed variables are variables that do exist, like 'makedepends' and 'pkgver' but can not be set inside of a package function. Signed-off-by: morganamilo Signed-off-by: Allan McRae --- scripts/libmakepkg/lint_pkgbuild/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/libmakepkg/lint_pkgbuild/meson.build') diff --git a/scripts/libmakepkg/lint_pkgbuild/meson.build b/scripts/libmakepkg/lint_pkgbuild/meson.build index 4ca414e4..f699a8e2 100644 --- a/scripts/libmakepkg/lint_pkgbuild/meson.build +++ b/scripts/libmakepkg/lint_pkgbuild/meson.build @@ -14,6 +14,7 @@ sources = [ 'optdepends.sh.in', 'options.sh.in', 'package_function.sh.in', + 'package_function_variable.sh.in', 'pkgbase.sh.in', 'pkglist.sh.in', 'pkgname.sh.in', -- cgit v1.2.3-54-g00ecf