pacman/scripts/libmakepkg/source
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
..
bzr.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
file.sh.in libmakepkg: fix compatibility with bash-5.2 patsub_replacement 2022-12-12 18:37:59 +10:00
fossil.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
git.sh.in libmakepkg: Fix git clone command 2022-08-02 13:07:09 +10:00
hg.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
local.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build Add fossil scm support to makepkg 2020-11-26 21:58:40 +10:00
svn.sh.in Update copyright years 2022-01-02 13:34:52 +10:00