From 248fb97ddd5d5ba619479ee35e285b47b7f32bc9 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 23 Mar 2023 17:39:45 +0100 Subject: mate-desktop.org.eclass: Quote argument of ":" command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller --- eclass/mate-desktop.org.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'eclass/mate-desktop.org.eclass') diff --git a/eclass/mate-desktop.org.eclass b/eclass/mate-desktop.org.eclass index 875e4615773c..0dd77aa19a3e 100644 --- a/eclass/mate-desktop.org.eclass +++ b/eclass/mate-desktop.org.eclass @@ -29,25 +29,25 @@ fi # @DESCRIPTION: # All projects hosted on mate-desktop.org provide tarballs as tar.xz. # Undefined in live ebuilds. -[[ ${PV} != 9999 ]] && : ${MATE_TARBALL_SUFFIX:="xz"} +[[ ${PV} != 9999 ]] && : "${MATE_TARBALL_SUFFIX:="xz"}" # @ECLASS_VARIABLE: MATE_DESKTOP_ORG_PN # @DESCRIPTION: # Name of the package as hosted on mate-desktop.org. # Leave unset if package name matches PN. -: ${MATE_DESKTOP_ORG_PN:=${PN}} +: "${MATE_DESKTOP_ORG_PN:=${PN}}" # @ECLASS_VARIABLE: MATE_DESKTOP_ORG_PV # @DESCRIPTION: # Package version string as listed on mate-desktop.org. # Leave unset if package version string matches PV. -: ${MATE_DESKTOP_ORG_PV:=${PV}} +: "${MATE_DESKTOP_ORG_PV:=${PV}}" # @ECLASS_VARIABLE: MATE_BRANCH # @DESCRIPTION: # Major and minor numbers of the version number, unless live. # If live ebuild, will be set to '9999'. -: ${MATE_BRANCH:=$(ver_cut 1-2)} +: "${MATE_BRANCH:=$(ver_cut 1-2)}" # Set SRC_URI or EGIT_REPO_URI based on whether live if [[ ${PV} == 9999 ]]; then -- cgit v1.2.3-65-gdbad