pacman/scripts
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
..
completion bash-completion: support file redirection completions 2019-03-25 11:15:26 +10:00
libmakepkg scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Remove pkgdelta 2019-03-07 11:12:12 +10:00
.gitignore Remove pkgdelta 2019-03-07 11:12:12 +10:00
Makefile.am drop DU* config variables 2019-03-19 12:07: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: use more schema.sh to clean the environment of special variables 2019-05-08 12:45:26 +10:00
meson.build Remove pkgdelta 2019-03-07 11:12:12 +10:00
pacman-db-upgrade.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
pacman-key.sh.in pacman-key: just accept one file to verify, and enforce detached sigs 2018-11-03 21:56:09 +10:00
repo-add.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
wrapper.sh.in scripts: pass on options such as set -x to child processes 2018-08-10 15:20:40 +10:00