diff options
author | 2023-03-23 17:39:45 +0100 | |
---|---|---|
committer | 2023-03-26 13:33:42 +0200 | |
commit | 248fb97ddd5d5ba619479ee35e285b47b7f32bc9 (patch) | |
tree | 469b3217cdb4c9f33c9fea720687ba8cb4de75c7 /eclass | |
parent | linux-mod.eclass: Quote argument of ":" command (diff) | |
download | gentoo-248fb97ddd5d5ba619479ee35e285b47b7f32bc9.tar.gz gentoo-248fb97ddd5d5ba619479ee35e285b47b7f32bc9.tar.bz2 gentoo-248fb97ddd5d5ba619479ee35e285b47b7f32bc9.zip |
mate-desktop.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')
-rw-r--r-- | eclass/mate-desktop.org.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
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 |