summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-03-15 03:59:18 +0100
committerAllan McRae <allan@archlinux.org>2018-03-15 05:34:13 +0100
commitf054351e528eebf985378f2f4cb0f621ca15023d (patch)
tree93f292b864923dbee5365962bbbf2f19025d74c5 /lib
parent9c8d7a80932e23baed1fc247b56b4c5725f9eff4 (diff)
downloadpacman-f054351e528eebf985378f2f4cb0f621ca15023d.tar.gz
pacman-f054351e528eebf985378f2f4cb0f621ca15023d.tar.xz
libmakepkg: Add basic rules to lint makepkg.conf variables
Currently the only things we check are: - Things that should be arrays, are not strings, and vice versa (this was mostly copy-pasted from the similar code in lint_pkgbuild). - Variables that are meant to contain pathname components cannot contain a newline character, because newline characters in pathnames are weird and also don't play well with future changes intended for the --packagelist option. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions