[pacman-dev] [PATCH] Fix the implementation of lint_variable.

Allan McRae allan at archlinux.org
Thu Nov 12 09:18:52 UTC 2015


On 12/11/15 18:37, David Grayson wrote:
> The old implementation had both false negatives and false positives.
> 
> Because of the -w option to grep, it didn't detect lines like:
> 
>   license=bad
> 
> Additionally, it did detect irrelevant lines like this:
> 
>   --with-arch=${_arch}
> 
> The latter is a false positive which made it difficult to build valid
> packages.
> 

This does not catch bad variables in the package() arrays.

Q


More information about the pacman-dev mailing list