app-accessibility/sound-icons: fix unquoted variable S

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Thomas Bracht Laumann Jespersen
2022-06-08 09:34:48 +02:00
committed by Sam James
parent 67583f53b8
commit b99802a763

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,9 +22,9 @@ src_install() {
dodoc README
insinto /usr/share/sounds/sound-icons
doins "${S}"/*.wav
links="`find ${S} -type l -print`"
for link in $links; do
target=`readlink -n $link`
dosym $target /usr/share/sounds/sound-icons/`basename $link`
local links=$(find "${S}" -type l -print)
for link in ${links}; do
target=$(readlink -n "${link}")
dosym "${target}" /usr/share/sounds/sound-icons/$(basename "${link}")
done
}