From 364cb07f3130d6086e54ee73de64c435c944620f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 28 Jan 2004 17:16:15 +0000 Subject: update from automake --- gnupload | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'gnupload') diff --git a/gnupload b/gnupload index 8cba888c3..d0e2f5375 100755 --- a/gnupload +++ b/gnupload @@ -1,7 +1,7 @@ #!/bin/sh # Sign files and upload them. -scriptversion=2004-01-25.02 +scriptversion=2004-01-28.17 # Copyright (C) 2004 Free Software Foundation # @@ -24,7 +24,7 @@ scriptversion=2004-01-25.02 set -e -GPG='gpg --batch --no-tty' +GPG='/usr/bin/gpg --batch --no-tty' to= usage="Usage: $0 [OPTIONS]... FILES... @@ -47,7 +47,9 @@ Example: gnupload --to sources.redhat.com:~ftp/automake \\ --to alpha.gnu.org:automake \\ automake-1.8.2b.tar.gz automake-1.8.2b.tar.bz2 -" + +Report bugs to . +Send patches to ." while test -n "$1"; do case $1 in @@ -106,10 +108,15 @@ do fi done +# Make sure passphrase is not exported in the environment. +unset passphrase + # Reset PATH to be sure that echo is a built-in. We will later use # `echo $passphrase' to output the passphrase, so it is important that # it is a built-in (third-party programs tend to appear in `ps' # 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 -- cgit v1.2.3-54-g00ecf