diff options
author | Kerin Millar <kfm@plushkava.net> | 2022-12-04 10:36:08 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-06 09:11:27 +0000 |
commit | 82e42fc71fbb1be48d44533ad636a144c4e451a1 (patch) | |
tree | 861e6b1e458865525534eccb0fc497adb414ed3d /app-dicts/aspell-eo | |
parent | net-vpn/networkmanager-strongswan: Apply patsub_replacement defences (diff) | |
download | gentoo-82e42fc71fbb1be48d44533ad636a144c4e451a1.tar.gz gentoo-82e42fc71fbb1be48d44533ad636a144c4e451a1.tar.bz2 gentoo-82e42fc71fbb1be48d44533ad636a144c4e451a1.zip |
app-dicts/*: Apply patsub_replacement defences
Per bug #881383, string replacing forms of parameter expansion must take care
to quote - or appropriately escape - any nested parameter expansions, assuming
that their values are intended to be taken literally (as is almost invariably
the case). This has long been the case, but the introduction of the new
patsub_replacement option in bash >=5.2 has brought the issue to the fore.
In the case of the app-dicts package category, the improper quoting is not yet
causing any issues. Still, it is better to write the code properly to begin
with, especially considering the demonstrative value of robust code.
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Bug: https://bugs.gentoo.org/881383
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-dicts/aspell-eo')
-rw-r--r-- | app-dicts/aspell-eo/aspell-eo-2.1.20000225.2-r1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2-r1.ebuild b/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2-r1.ebuild index 3e2223358d12..f7bdc02252a4 100644 --- a/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2-r1.ebuild +++ b/app-dicts/aspell-eo/aspell-eo-2.1.20000225.2-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 ASPELL_LANG="Esperanto" ASPELL_VERSION=6 MY_PV="$(ver_cut 1-3)a-$(ver_cut 4)" -MY_P="${PN/aspell/aspell${ASPELL_VERSION}}-${MY_PV}" +MY_P="${PN/aspell/aspell"${ASPELL_VERSION}"}-${MY_PV}" inherit aspell-dict-r1 |