[pacman-dev,6/7] libmakepkg: add pkgbase to linted variables

Message ID 20180608181859.20724-7-morganamilo@gmail.com
State Accepted, archived
Headers show
Series Improve linting for makepkg | expand

Commit Message

morganamilo June 8, 2018, 6:18 p.m. UTC
Signed-off-by: morganamilo <morganamilo@gmail.com>
---
 scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Allan McRae June 19, 2018, 12:33 p.m. UTC | #1
On 09/06/18 04:18, morganamilo wrote:
> Signed-off-by: morganamilo <morganamilo@gmail.com>
> ---

OK.

>  scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
> index 6b7da4a2..bdb70774 100644
> --- a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
> +++ b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
> @@ -35,7 +35,7 @@ lint_variable() {
>  	             validpgpkeys)
>  	local arch_array=(conflicts depends makedepends md5sums optdepends provides
>  	                  replaces sha1sums sha256sums sha384sums sha512sums source)
> -	local string=(changelog epoch install pkgdesc pkgrel pkgver url)
> +	local string=(changelog epoch install pkgbase pkgdesc pkgrel pkgver url)
>  
>  	local no_overide_string=(pkgbase pkgver pkgrel epoch)
>  
>

Patch

diff --git a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
index 6b7da4a2..bdb70774 100644
--- a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
+++ b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
@@ -35,7 +35,7 @@  lint_variable() {
 	             validpgpkeys)
 	local arch_array=(conflicts depends makedepends md5sums optdepends provides
 	                  replaces sha1sums sha256sums sha384sums sha512sums source)
-	local string=(changelog epoch install pkgdesc pkgrel pkgver url)
+	local string=(changelog epoch install pkgbase pkgdesc pkgrel pkgver url)
 
 	local no_overide_string=(pkgbase pkgver pkgrel epoch)