pacman/scripts/libmakepkg/tidy
Eli Schwartz b93dfa935f scripts: protect against unintended glob matching in [[ ]] RHS
The right-hand side of the [[ ... = ... ]] keyword is an exception to
the general rule that quoting is unnecessary with [[

This is usually not a problem, e.g. in libmakepkg, lint_one_pkgname will
already fail if pkgname has an asterisk, but it certainly doesn't hurt
to be "more proper" and go with the spec; it is more dangerous in
repo-add, which can get caught in an infinite loop instead of safely
asserting there is no package named 'foo*'.

Reported-by: Rafael Ascensão <rafa.almas@gmail.com>
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-05-08 12:45:26 +10:00
..
docs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
emptydirs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
libtool.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
meson.build Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
purge.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
staticlibs.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
strip.sh.in libmakepkg/tidy: fix debug sources not being properly detected sometimes 2018-07-19 12:23:57 +10:00
zipman.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00