summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:40:17 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:34:02 +0200
commit704a44803ba8097b75392d814208d8d480dcc6ef (patch)
treec058a1c24c3002b53a29f07b6a8e61699b21ce5d /eclass/xdg-utils.eclass
parentwaf-utils.eclass: Quote argument of ":" command (diff)
downloadgentoo-704a44803ba8097b75392d814208d8d480dcc6ef.tar.gz
gentoo-704a44803ba8097b75392d814208d8d480dcc6ef.tar.bz2
gentoo-704a44803ba8097b75392d814208d8d480dcc6ef.zip
xdg-utils.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/xdg-utils.eclass')
-rw-r--r--eclass/xdg-utils.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass
index 9a58add23d36..34535a129e33 100644
--- a/eclass/xdg-utils.eclass
+++ b/eclass/xdg-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 2004-2022 Gentoo Authors
+# Copyright 2004-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: xdg-utils.eclass
@@ -26,13 +26,13 @@ esac
# @INTERNAL
# @DESCRIPTION:
# Directory where .desktop files database is stored
-: ${DESKTOP_DATABASE_DIR="/usr/share/applications"}
+: "${DESKTOP_DATABASE_DIR="/usr/share/applications"}"
# @ECLASS_VARIABLE: MIMEINFO_DATABASE_DIR
# @INTERNAL
# @DESCRIPTION:
# Directory where .desktop files database is stored
-: ${MIMEINFO_DATABASE_DIR:="/usr/share/mime"}
+: "${MIMEINFO_DATABASE_DIR:="/usr/share/mime"}"
# @FUNCTION: xdg_environment_reset
# @DESCRIPTION: