pacman/scripts
Eli Schwartz 519685e4b1 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 2bec380e10)
2018-11-18 17:25:18 -08:00
..
completion bash_completion.in - consider option "-n --native" in operation "-Q --query" 2018-05-12 21:29:12 +10:00
libmakepkg libmakepkg/lint_config: fix lint_variable actually running the PKGBUILD lint 2018-11-18 17:25:18 -08:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po Pull updated translations from Transifex 2018-07-27 10:38:57 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am Remove all modelines from the project 2018-05-14 09:59:15 +10:00
makepkg-template.pl.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
makepkg.sh.in makepkg: optimize and fix BUILDINFO generation's use of awk 2018-07-27 11:43:39 +10:00
pacman-db-upgrade.sh.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
pacman-key.sh.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
pkgdelta.sh.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
repo-add.sh.in Remove all modelines from the project 2018-05-14 09:59:15 +10:00
wrapper.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00