diff options
author | 2024-05-19 10:28:21 -0700 | |
---|---|---|
committer | 2024-05-19 10:28:21 -0700 | |
commit | 38197eb2a9592c4de4d490fe1c6d164845773ca5 (patch) | |
tree | 3ecf5dd33d34d901f575065a260dd3588a784d2b | |
parent | create-dev-keyrings.bash: this was split into other scripts and not used sinc... (diff) | |
download | qa-scripts-38197eb2a9592c4de4d490fe1c6d164845773ca5.tar.gz qa-scripts-38197eb2a9592c4de4d490fe1c6d164845773ca5.tar.bz2 qa-scripts-38197eb2a9592c4de4d490fe1c6d164845773ca5.zip |
keyrings.inc.bash: support export options
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | keyrings.inc.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyrings.inc.bash b/keyrings.inc.bash index d2668e0..7c63e0d 100644 --- a/keyrings.inc.bash +++ b/keyrings.inc.bash @@ -103,7 +103,7 @@ export_keys() { # 'gpg --export' returns zero if there was no error with the command itself # If there are no keys in the export set, then it ALSO does not write the destination file # and prints 'gpg: WARNING: nothing exported' to stderr - if ! gpg --output "$TMP" --export "${@}"; then + if ! gpg "${GPG_EXPORT_OPTS[@]}" --output "$TMP" --export "${@}"; then echo "Unable to export keys to $DST: GPG returned non-zero" exit 1 fi |