pacman/scripts
Allan McRae 0e938f1886 libmakepkg: fix compatibility with bash-5.2 patsub_replacement
Bash-5.2 introduced the patsub_replacement shell option, which is enabled
by default.  Apparently is it supposed to handle a sed-like idiom, but
what it does achieve is making any substitution involving a "&" requiring
special care.

For makepkg's DLAGENTS, we replace "%o" and "%u" if present.  Any "&" in
the replacement fields triggers patsub_replacement unless quoted.  This is
particularly important for the URL field.

Add relevant quotes to avoid issues.

Signed-off-by: Allan McRae <allan@archlinux.org>
2022-12-12 18:37:59 +10:00
..
completion Add --keyringdir meson option to configure the keyring directory 2022-07-29 10:17:52 +10:00
libmakepkg libmakepkg: fix compatibility with bash-5.2 patsub_replacement 2022-12-12 18:37:59 +10:00
po Update mailing list url 2021-11-20 12:38:25 -08:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
makepkg-template.pl.in Update copyright years 2022-01-02 13:34:52 +10:00
makepkg.sh.in makepkg: remove md5sums from generated mtree file 2022-12-04 20:15:33 +10:00
meson.build meson: do not use meson.source_root() and meson.build_root() 2022-03-06 16:26:34 +10:00
pacman-db-upgrade.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
pacman-key.sh.in pacman-key: Don't check gpg's trustdb after each key revocation 2022-09-26 20:22:11 +10:00
repo-add.sh.in repo-add: do not add md5sums to the repo dbs 2022-12-04 20:15:33 +10:00
wrapper.sh.in Update copyright years 2022-01-02 13:34:52 +10:00