From: Jim Meyering Date: Wed, 28 Jan 2004 17:16:15 +0000 (+0000) Subject: update from automake X-Git-Tag: v5.1.3~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=364cb07f3130d6086e54ee73de64c435c944620f;p=thirdparty%2Fcoreutils.git update from automake --- diff --git a/gnupload b/gnupload index 8cba888c3a..d0e2f53758 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