diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-03-23 17:39:55 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-26 13:33:48 +0200 |
commit | c09c4baf540af2807d739f7257fdecc2008c6f57 (patch) | |
tree | 602327c7ce8337c250f14b6ee07e7d3d5f7151aa | |
parent | office-ext-r1.eclass: Quote argument of ":" command (diff) | |
download | gentoo-c09c4baf540af2807d739f7257fdecc2008c6f57.tar.gz gentoo-c09c4baf540af2807d739f7257fdecc2008c6f57.tar.bz2 gentoo-c09c4baf540af2807d739f7257fdecc2008c6f57.zip |
opam.eclass: Quote argument of ":" command
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | eclass/opam.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/opam.eclass b/eclass/opam.eclass index 197c3256f015..49e3c426b062 100644 --- a/eclass/opam.eclass +++ b/eclass/opam.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: opam.eclass @@ -25,7 +25,7 @@ QA_FLAGS_IGNORED='.*' # @PRE_INHERIT # @DESCRIPTION: # Override dependency for OPAM_INSTALLER -: ${OPAM_INSTALLER_DEP:="dev-ml/opam-installer"} +: "${OPAM_INSTALLER_DEP:="dev-ml/opam-installer"}" RDEPEND=">=dev-lang/ocaml-4:=" BDEPEND="${OPAM_INSTALLER_DEP} dev-lang/ocaml" @@ -34,7 +34,7 @@ DEPEND="${RDEPEND}" # @ECLASS_VARIABLE: OPAM_INSTALLER # @DESCRIPTION: # Eclass can use different opam-installer binary than the one provided in by system. -: ${OPAM_INSTALLER:=opam-installer} +: "${OPAM_INSTALLER:=opam-installer}" # @FUNCTION: opam-install # @USAGE: <list of packages> |