summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:40 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:39 +0200
commitc2d17b7c16ab5f1de9c4a0640c56c2b5f8f1bdb0 (patch)
treefacc222d0eebbd35676e68f00f52f70411a52233 /eclass/kde.org.eclass
parentjava-pkg-simple.eclass: Quote argument of ":" command (diff)
downloadgentoo-c2d17b7c16ab5f1de9c4a0640c56c2b5f8f1bdb0.tar.gz
gentoo-c2d17b7c16ab5f1de9c4a0640c56c2b5f8f1bdb0.tar.bz2
gentoo-c2d17b7c16ab5f1de9c4a0640c56c2b5f8f1bdb0.zip
kde.org.eclass: Quote argument of ":" command
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r--eclass/kde.org.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
index 629c57d9a082..88040026ecae 100644
--- a/eclass/kde.org.eclass
+++ b/eclass/kde.org.eclass
@@ -84,7 +84,7 @@ readonly KDE_ORG_CATEGORIES
# @DESCRIPTION:
# If unset, default value is mapped from ${CATEGORY} to corresponding upstream
# category on invent.kde.org, with "kde" as fallback value.
-: ${KDE_ORG_CATEGORY:=${KDE_ORG_CATEGORIES[${CATEGORY}]:-kde}}
+: "${KDE_ORG_CATEGORY:=${KDE_ORG_CATEGORIES[${CATEGORY}]:-kde}}"
# @ECLASS_VARIABLE: KDE_ORG_COMMIT
# @PRE_INHERIT
@@ -99,12 +99,12 @@ readonly KDE_ORG_CATEGORIES
# @DESCRIPTION:
# If unset, default value is set to ${PN}.
# Name of the package as hosted on kde.org mirrors.
-: ${KDE_ORG_NAME:=$PN}
+: "${KDE_ORG_NAME:=$PN}"
# @ECLASS_VARIABLE: KDE_ORG_SCHEDULE_URI
# @DESCRIPTION:
# Known schedule URI of package or release group.
-: ${KDE_ORG_SCHEDULE_URI:="https://community.kde.org/Schedules"}
+: "${KDE_ORG_SCHEDULE_URI:="https://community.kde.org/Schedules"}"
# @ECLASS_VARIABLE: KDE_SELINUX_MODULE
# @PRE_INHERIT
@@ -112,7 +112,7 @@ readonly KDE_ORG_CATEGORIES
# If set to "none", do nothing.
# For any other value, add selinux to IUSE, and depending on that useflag
# add a dependency on sec-policy/selinux-${KDE_SELINUX_MODULE} to (R)DEPEND.
-: ${KDE_SELINUX_MODULE:=none}
+: "${KDE_SELINUX_MODULE:=none}"
case ${KDE_SELINUX_MODULE} in
none) ;;