summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-03-23 17:40:12 +0100
committerUlrich Müller <ulm@gentoo.org>2023-03-26 13:33:59 +0200
commitf75f76f331c5f92d73bc94ea8a53555a4f174bf6 (patch)
tree38e52b481f1c8a0c05686a79a2d0f95def6a4b53 /eclass/verify-sig.eclass
parentvala.eclass: Quote argument of ":" command (diff)
downloadgentoo-f75f76f331c5f92d73bc94ea8a53555a4f174bf6.tar.gz
gentoo-f75f76f331c5f92d73bc94ea8a53555a4f174bf6.tar.bz2
gentoo-f75f76f331c5f92d73bc94ea8a53555a4f174bf6.zip
verify-sig.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/verify-sig.eclass')
-rw-r--r--eclass/verify-sig.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
index 5e757cdd6038..6472e995e827 100644
--- a/eclass/verify-sig.eclass
+++ b/eclass/verify-sig.eclass
@@ -57,7 +57,7 @@ IUSE="verify-sig"
#
# - openpgp -- verify PGP signatures using app-crypt/gnupg (the default)
# - signify -- verify signatures with Ed25519 public key using app-crypt/signify
-: ${VERIFY_SIG_METHOD:=openpgp}
+: "${VERIFY_SIG_METHOD:=openpgp}"
case ${VERIFY_SIG_METHOD} in
openpgp)
@@ -102,7 +102,7 @@ esac
# connection.
#
# Supported for OpenPGP only.
-: ${VERIFY_SIG_OPENPGP_KEY_REFRESH:=no}
+: "${VERIFY_SIG_OPENPGP_KEY_REFRESH:=no}"
# @FUNCTION: verify-sig_verify_detached
# @USAGE: <file> <sig-file> [<key-file>]