On 02/07/2018 07:24 PM, Allan McRae wrote:
Newline separation should be fine. makepkg ensures most (all?) of the fields are not allowed to have newlines in them. If any can, we need to catch that in out PKGBUILD linting and error out. Probably need to add a check that the fields from makepkg.conf don't have newlines either.
I was thinking primarily of the fields in makepkg.conf, since AFAICT no PKGBUILD fields used in assembling the filename can contain newlines.
OTOH, both PKGDEST and PKGEXT currently allow this, as do all the other directory variables in makepkg.conf
Should we add a lint_pkgbuild check for all the makepkg.conf variables?