summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:56 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:49 +0200
commita9a5c1a36892063086c57326be14958a3e39c9ff (patch)
tree01a7f0155375836cb7a1030fce7d22e501aff6d9 /eclass/php-ext-source-r3.eclass
parentopam.eclass: Quote argument of ":" command (diff)
downloadgentoo-a9a5c1a36892063086c57326be14958a3e39c9ff.tar.gz
gentoo-a9a5c1a36892063086c57326be14958a3e39c9ff.tar.bz2
gentoo-a9a5c1a36892063086c57326be14958a3e39c9ff.zip
php-ext-source-r3.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/php-ext-source-r3.eclass')
-rw-r--r--eclass/php-ext-source-r3.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass
index 7179ab756f6b..e463d3282e83 100644
--- a/eclass/php-ext-source-r3.eclass
+++ b/eclass/php-ext-source-r3.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: php-ext-source-r3.eclass
@@ -81,7 +81,7 @@ esac
# @CODE
# PHP_INI_NAME="40-foo"
# @CODE
-: ${PHP_INI_NAME:=${PHP_EXT_NAME}}
+: "${PHP_INI_NAME:=${PHP_EXT_NAME}}"
# @ECLASS_VARIABLE: PHP_EXT_NEEDED_USE
# @PRE_INHERIT