pacman/scripts/libmakepkg
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
..
integrity Fix signing of debug packages 2018-06-18 16:50:58 +10:00
lint_config libmakepkg/lint_config: fix lint_variable actually running the PKGBUILD lint 2018-11-18 17:25:18 -08:00
lint_package Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild makepkg: reduce strictness of pkgver in depends linting 2018-07-27 10:21:58 +10:00
source Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy libmakepkg/tidy: fix debug sources not being properly detected sometimes 2018-07-19 12:23:57 +10:00
util makepkg: don't print per-pkgname debug packages 2018-06-18 16:54:37 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
integrity.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_config.sh.in libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
lint_package.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
source.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
srcinfo.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00