summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-06-08 09:34:48 +0200
committerSam James <sam@gentoo.org>2022-06-16 17:30:17 +0100
commitb99802a7637234075a85eb749d32aec9bf2b1452 (patch)
treecd6d9c1cb3f15bd8ef7fc184ef6545822c959367 /app-accessibility/sound-icons
parentsys-power/apcupsd: Call udev_reload on install (diff)
downloadgentoo-b99802a7637234075a85eb749d32aec9bf2b1452.tar.gz
gentoo-b99802a7637234075a85eb749d32aec9bf2b1452.tar.bz2
gentoo-b99802a7637234075a85eb749d32aec9bf2b1452.zip
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>
Diffstat (limited to 'app-accessibility/sound-icons')
-rw-r--r--app-accessibility/sound-icons/sound-icons-0.1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-accessibility/sound-icons/sound-icons-0.1.ebuild b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
index 30a81fbc310e..2582afeca261 100644
--- a/app-accessibility/sound-icons/sound-icons-0.1.ebuild
+++ b/app-accessibility/sound-icons/sound-icons-0.1.ebuild
@@ -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
}