On Sat, May 19, 2018 at 4:14 PM, Bruno Haible wrote:
> Hi Jim,
>
>> The only thing I would have done differently would be to add
>> "FIXME-2020" or similar to your comment
>
> Why 2020? I wrote:
>
> Ubuntu 2016.04 (which is supported until April 2021,
> that is, 3 years from now), has `gpg --v
Hi Jim,
> The only thing I would have done differently would be to add
> "FIXME-2020" or similar to your comment
Why 2020? I wrote:
Ubuntu 2016.04 (which is supported until April 2021,
that is, 3 years from now), has `gpg --version` = 1.x.
So, if it's supported until April 2021, you can ass
On Sat, May 19, 2018 at 4:02 AM, Bruno Haible wrote:
> There was no comment from Jim. So I pushed this:
>
> 2018-05-19 Bruno Haible
>
> gnupload: Fix "gpg-agent is not available in this session" error.
> * build-aux/gnupload (GPG): Pick the right GNUPG executable to use.
>
> dif
There was no comment from Jim. So I pushed this:
2018-05-19 Bruno Haible
gnupload: Fix "gpg-agent is not available in this session" error.
* build-aux/gnupload (GPG): Pick the right GNUPG executable to use.
diff --git a/build-aux/gnupload b/build-aux/gnupload
index 2a0bfa3..0
Paul Eggert wrote:
> Maybe not bother to invoke gpg --version unless gpg_agent_version is 2?
Sure, that's a small speedup. Will do.
> Also, no need for the sed. Something like this perhaps:
>
>case "`(gpg-agent --version) 2>/dev/null`" in
> *'(GnuPG) 2.'*)
>case "`(gpg --versio
The patch's basic idea looks good; thanks.
On 05/17/2018 01:46 PM, Bruno Haible wrote:
+gpg_version=`(gpg --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'`
+gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e
's/^[^0-9]*//'`
+case "$gpg_agent_version" in
+ 2.*)
+