Problem with mutt version.sh script

2018-04-16 Thread Paul Keusemann
Hello, I have just built mutt-1.9.5 on several platforms and ran into a problem with the version.sh script on systems where /bin/sh is not bash. This: { [ -e ".git" ] && command -v git >/dev/null 2>&1; } \ || exec cat VERSION does not work when run in a bourne shell.  The -e option is not s

Re: Problem with mutt version.sh script

2018-04-16 Thread Gero Treuner
Hi, On Mon, Apr 16, 2018 at 07:53:56AM -0500, Paul Keusemann wrote: > I have just built mutt-1.9.5 on several platforms and ran into a problem > with the version.sh script on systems where /bin/sh is not bash. > > This: > > { [ -e ".git" ] && command -v git >/dev/null 2>&1; } \ > || exec cat VER

Re: Problem with mutt version.sh script

2018-04-16 Thread Aaron Schrab
At 15:41 +0200 16 Apr 2018, Gero Treuner wrote: On Mon, Apr 16, 2018 at 07:53:56AM -0500, Paul Keusemann wrote: { [ -e ".git" ] && command -v git >/dev/null 2>&1; } \ || exec cat VERSION does not work when run in a bourne shell.  The -e option is not supported in I'd prefer using an option

Re: Problem with mutt version.sh script

2018-04-16 Thread Kevin J. McCarthy
On Mon, Apr 16, 2018 at 10:18:57AM -0400, Aaron Schrab wrote: > At 15:41 +0200 16 Apr 2018, Gero Treuner wrote: > > On Mon, Apr 16, 2018 at 07:53:56AM -0500, Paul Keusemann wrote: > > > { [ -e ".git" ] && command -v git >/dev/null 2>&1; } \ > > > || exec cat VERSION > > > > > > does not work when