Compare commits

...

2 Commits

Author SHA1 Message Date
Felix Yan
a356a94c6a Merge branch 'felixonmars-master-patch-03177' into 'master'
export-pkgbuild-keys: use export-clean instead of export-minimal

Closes #93

See merge request archlinux/devtools!116
2025-08-05 11:14:16 +08:00
Felix Yan
7f2904d069 export-pkgbuild-keys: use export-clean instead of export-minimal
Fixes #93
2022-09-28 07:46:44 +00:00

View File

@@ -57,7 +57,7 @@ mkdir -p keys/pgp
error=0
for key in "${validpgpkeys[@]}"; do
gpg --output "$TEMPDIR/$key.asc" --armor --export --export-options export-minimal "$key" 2>/dev/null
gpg --output "$TEMPDIR/$key.asc" --armor --export --export-options export-clean "$key" 2>/dev/null
# gpg does not give a non-zero return value if it fails to export...
if [[ -f $TEMPDIR/$key.asc ]]; then