[pacman-dev] [PATCH v2] libmakepkg: check if PKGBUILD variables are arrays or not as appropriate
Allan McRae
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
> make
>> assumptions about whether variables are arrays or not. This adds a check
> to
>> the PKGBUILD linter to ensure variables are arrays or not as appropriate.
>>
>> Signed-off-by: Allan McRae <allan at archlinux.org>
>> ---
>>
>> v2:
>> - rename file
>> - do word based matching
>> - also check += usage
>
> Missing from this list -- $BUILDSCRIPT must be quoted throughout the file.
>
Fixed.
Thanks,
Allan
More information about the pacman-dev
mailing list