Mercurial > hg > octave-lojdl > gnulib-hg
changeset 16902:1cdf36c56e21
do not ask for gpg pw with --dry-run
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Sun, 10 Jun 2012 17:07:44 -0700 |
parents | 1b163013d9bf |
children | 869fa9955145 |
files | ChangeLog build-aux/gnupload |
diffstat | 2 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-06-10 Karl Berry <karl@gnu.org> + * build-aux/gnupload: with --dry-run, do not ask for gpg pw. + * build-aux/gnupload: implement --replace, ftp-upload protocol v1.2. 2012-06-10 Bruce Korb <bkorb@gnu.org>
--- a/build-aux/gnupload +++ b/build-aux/gnupload @@ -249,11 +249,13 @@ # listings with their arguments...). # Remember this script runs with 'set -e', so if echo is not built-in # it will exit now. -PATH=/empty echo -n "Enter GPG passphrase: " -stty -echo -read -r passphrase -stty echo -echo +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