Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 09:24:28 +0100
committerErich Eckner <git@eckner.net>2020-01-13 09:24:28 +0100
commita18027d589c3924fdeb6986d0c45bec8cb1f55ae (patch)
tree6a7b5e9a1bdf8b6c9faac199da31c380ec34143f
parent3adf8b905109fb9df17cfebb505edc1c2fff394d (diff)
update-keys: some gpg invocations were still swallowing input
-rwxr-xr-xupdate-keys6
1 files changed, 3 insertions, 3 deletions
diff --git a/update-keys b/update-keys
index 6dc3601..db20e9b 100755
--- a/update-keys
+++ b/update-keys
@@ -49,7 +49,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | \
+ ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
${GPG} --import &>/dev/null
done < packager-keyids
while read -ra data; do
@@ -72,7 +72,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | \
+ ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
@@ -90,7 +90,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | \
+ ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}