[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: automatize uploads of automake releases
From: |
Ralf Wildenhues |
Subject: |
Re: FYI: automatize uploads of automake releases |
Date: |
Tue, 27 Jan 2004 11:44:39 +0100 |
User-agent: |
Mutt/1.4.1i |
* Alexandre Duret-Lutz wrote on Sat, Jan 24, 2004 at 08:22:01PM CET:
>
> Index: lib/gnupload
[ snip ]
>
> +# 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...).
> +PATH=/empty echo -n "Enter GPG passphrase: "
> +stty -echo
> +read -r passphrase
> +stty echo
> +echo
> +
> +for file;
> +do
> + echo "Signing $file..."
> + rm -f $file.sig
> + echo $passphrase | $GPG --passphrase-fd 0 -ba -o $file.sig $file
Concerning the comment above, this echo is not executed with a reset
PATH. Same with following echos.
Regards,
Ralf