diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-03-23 17:39:37 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-26 13:33:37 +0200 |
commit | 955559352e6cc513eed1d2b2d4c083d7f85be81b (patch) | |
tree | 395580da6e3466b8cd7b8779aab2d69187c73da7 /eclass/gstreamer-meson.eclass | |
parent | golang-vcs.eclass: Quote argument of ":" command (diff) | |
download | gentoo-955559352e6cc513eed1d2b2d4c083d7f85be81b.tar.gz gentoo-955559352e6cc513eed1d2b2d4c083d7f85be81b.tar.bz2 gentoo-955559352e6cc513eed1d2b2d4c083d7f85be81b.zip |
gstreamer-meson.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/gstreamer-meson.eclass')
-rw-r--r-- | eclass/gstreamer-meson.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index aa54d05fdb85..fae030d4f754 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: gstreamer-meson.eclass @@ -143,7 +143,7 @@ gstreamer_system_library() { # Actual build directories of the plugins. # Most often the same as the configure switch name. # FIXME: Change into a bash array -: ${GST_PLUGINS_BUILD_DIR:=${PN/gst-plugins-/}} +: "${GST_PLUGINS_BUILD_DIR:=${PN/gst-plugins-/}}" # @ECLASS_VARIABLE: GST_TARBALL_SUFFIX # @DESCRIPTION: @@ -151,7 +151,7 @@ gstreamer_system_library() { # tarballs as tar.bz2 or tar.xz. This eclass defaults to xz. This is # because the gstreamer mirrors are moving to only have xz tarballs for # new releases. -: ${GST_TARBALL_SUFFIX:="xz"} +: "${GST_TARBALL_SUFFIX:="xz"}" # Even though xz-utils are in @system, they must still be added to BDEPEND; see # https://archives.gentoo.org/gentoo-dev/msg_a0d4833eb314d1be5d5802a3b710e0a4.xml @@ -163,13 +163,13 @@ fi # @DESCRIPTION: # Name of the module as hosted on gstreamer.freedesktop.org mirrors. # Leave unset if package name matches module name. -: ${GST_ORG_MODULE:=${PN}} +: "${GST_ORG_MODULE:=${PN}}" # @ECLASS_VARIABLE: GST_ORG_PVP # @INTERNAL # @DESCRIPTION: # Major and minor numbers of the version number. -: ${GST_ORG_PVP:=$(ver_cut 1-2)} +: "${GST_ORG_PVP:=$(ver_cut 1-2)}" DESCRIPTION="${BUILD_GST_PLUGINS} plugin for gstreamer" |