summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/backup.c
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-09-04 21:17:54 +0200
committerAndrew Gregory <andrew@archlinux.org>2018-11-19 02:25:18 +0100
commit519685e4b1cff3df9bc389550fa6e19ee4ba8794 (patch)
tree7493b8f567dc2f1a388a14284e3e6d8c161ba1b3 /lib/libalpm/backup.c
parent4fc7c1d41efcce7f85def270c0ce8edca1062fc4 (diff)
downloadpacman-519685e4b1cff3df9bc389550fa6e19ee4ba8794.tar.gz
pacman-519685e4b1cff3df9bc389550fa6e19ee4ba8794.tar.xz
libmakepkg/lint_config: fix lint_variable actually running the PKGBUILD lint
Due to a copy-paste error when initially implementing this, it actually uses a duplicate function name, usually resulting in lint_pkgbuild overwriting the function definition. Then the PKGBUILD lint gets run twice, one time before the PKGBUILD is even sourced -- to potentially surprising results, like erroring out on a pre-existing shell definition that doesn't match our expectations. Seen in the wild with lint_config triggering an error for 'declare -x arch="foo"' Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 2bec380e108536f5e5f728ef66223ed3fabf5ab1)
Diffstat (limited to 'lib/libalpm/backup.c')
0 files changed, 0 insertions, 0 deletions