[pacman-dev] [PATCH v2] libmakepkg: check if PKGBUILD variables are arrays or not as appropriate
allan at archlinux.org
Mon Sep 7 01:20:45 UTC 2015
On 08/08/15 14:23, Dave Reisner wrote:
> On Aug 8, 2015 07:14, "Allan McRae" <allan at archlinux.org> wrote:
>> When extracting variables from PKGBUILD (e.g. for .SRCINFO creation) we
>> assumptions about whether variables are arrays or not. This adds a check
>> the PKGBUILD linter to ensure variables are arrays or not as appropriate.
>> Signed-off-by: Allan McRae <allan at archlinux.org>
>> - rename file
>> - do word based matching
>> - also check += usage
> Missing from this list -- $BUILDSCRIPT must be quoted throughout the file.
More information about the pacman-dev