summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:39:59 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:50 +0200
commitf86188544fd4056f01ed08d29d4f0495104170b2 (patch)
tree8d50f3eee4d80067fbcad3022c14d80c0c0c01a5 /eclass/pypi.eclass
parentplasma-mobile.kde.org.eclass: Quote argument of ":" command (diff)
downloadgentoo-f86188544fd4056f01ed08d29d4f0495104170b2.tar.gz
gentoo-f86188544fd4056f01ed08d29d4f0495104170b2.tar.bz2
gentoo-f86188544fd4056f01ed08d29d4f0495104170b2.zip
pypi.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/pypi.eclass')
-rw-r--r--eclass/pypi.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/pypi.eclass b/eclass/pypi.eclass
index 53505de8e67e..d869a8c17a6c 100644
--- a/eclass/pypi.eclass
+++ b/eclass/pypi.eclass
@@ -61,7 +61,7 @@ _PYPI_ECLASS=1
# @CODE
# PYPI_PN=${PN/-/.}
# @CODE
-: ${PYPI_PN:=${PN}}
+: "${PYPI_PN:=${PN}}"
# @FUNCTION: pypi_normalize_name
# @USAGE: <name>