diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-09-04 21:17:54 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-09-19 02:54:26 +0200 |
commit | 2bec380e108536f5e5f728ef66223ed3fabf5ab1 (patch) | |
tree | 4751a3eca8546aa580ea2ccf1fb0f84484c07cb6 /etc/makepkg.conf.in | |
parent | 3318039e3b1530396b0e3ced49ea6fe5b6ea00c5 (diff) | |
download | pacman-2bec380e108536f5e5f728ef66223ed3fabf5ab1.tar.gz pacman-2bec380e108536f5e5f728ef66223ed3fabf5ab1.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>
Diffstat (limited to 'etc/makepkg.conf.in')
0 files changed, 0 insertions, 0 deletions