[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnupload --dry-run and gpg passphrase?
From: |
Karl Berry |
Subject: |
gnupload --dry-run and gpg passphrase? |
Date: |
Sat, 9 Jun 2012 23:49:05 GMT |
Is there any reason for gnupload -n to ask for the gpg password?
When testing, it seems rather more convenient not to be asked.
(If I actually commit this I'll reindent in the obvious way.)
k
--- a/build-aux/gnupload
+++ b/build-aux/gnupload
@@ -243,11 +249,13 @@ unset passphrase
# listings with their arguments...).
# Remember this script runs with 'set -e', so if echo is not built-in
# it will exit now.
+if $dry_run; then :; else
PATH=/empty echo -n "Enter GPG passphrase: "
stty -echo
read -r passphrase
stty echo
echo
+fi
if test $# -ne 0; then
for file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnupload --dry-run and gpg passphrase?,
Karl Berry <=