summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:18 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:25 +0200
commitc0df848ddd8223fd18e1d31e5bc88cee536a3304 (patch)
tree6c1cd7ddd74b1c82be87b83749512874f5c6262a /eclass/acct-group.eclass
parentmail-client/mutt-2.2.10: version bump (diff)
downloadgentoo-c0df848ddd8223fd18e1d31e5bc88cee536a3304.tar.gz
gentoo-c0df848ddd8223fd18e1d31e5bc88cee536a3304.tar.bz2
gentoo-c0df848ddd8223fd18e1d31e5bc88cee536a3304.zip
acct-group.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/acct-group.eclass')
-rw-r--r--eclass/acct-group.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index 47e2d278f73e..06eb9445f35d 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -72,13 +72,13 @@ readonly ACCT_GROUP_NAME
# If set to a non-null value, the eclass will require the group to have
# specified GID. If the group already exists with another GID, or
# the GID is taken by another group, the install will fail.
-: ${ACCT_GROUP_ENFORCE_ID:=}
+: "${ACCT_GROUP_ENFORCE_ID:=}"
# << Boilerplate ebuild variables >>
-: ${DESCRIPTION:="System group: ${ACCT_GROUP_NAME}"}
-: ${SLOT:=0}
-: ${KEYWORDS:=alpha amd64 arm arm64 hppa ia64 ~loong m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris}
+: "${DESCRIPTION:="System group: ${ACCT_GROUP_NAME}"}"
+: "${SLOT:=0}"
+: "${KEYWORDS:=alpha amd64 arm arm64 hppa ia64 ~loong m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris}"
S=${WORKDIR}