pacman/scripts/libmakepkg
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
..
buildenv Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
executable fix various typos 2019-02-04 10:17:30 +10:00
integrity libmakepkg: centralise random arrays of pkgbuild variables 2019-01-31 10:02:37 +10:00
lint_config libmakepkg: add routine for linting $SOURCE_DATE_EPOCH 2019-01-10 17:01:30 +10:00
lint_package Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
lint_pkgbuild scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
source scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
tidy scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
util libmakepkg: fix reporting of invalid archive extensions in compress.sh 2019-03-19 14:12:44 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
executable.sh.in libmakepkg/executable: don't rely on scoped value of $ret to flag outcomes 2018-12-04 17:22:27 +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
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in libmakepkg: implement extendable source protocols 2019-01-22 09:38:31 +10:00
srcinfo.sh.in libmakepkg: fix migration to schema.sh for integsums 2019-05-08 10:05:23 +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