[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: automatize uploads of automake releases
From: |
Alexandre Duret-Lutz |
Subject: |
Re: FYI: automatize uploads of automake releases |
Date: |
Tue, 27 Jan 2004 11:51:44 +0100 |
On Tue, Jan 27, 2004 at 11:44:39AM +0100, Ralf Wildenhues wrote:
> * 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.
If it wes a built-in the first time, it still is...