Commit 296ccab5 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy

Switch to using [ -r ] in version.sh for Bourne shell compatibility.

Thanks to Paul Keusemann for pointing out the issue.
parent bf161cf5
......@@ -7,7 +7,7 @@ srcdir=`dirname "$0"` && cd "$srcdir" || exit 1
# Ensure that we have a repo here.
# If not, just cat the VERSION file; it contains the latest release number.
{ [ -e ".git" ] && command -v git >/dev/null 2>&1; } \
{ [ -r ".git" ] && command -v git >/dev/null 2>&1; } \
|| exec cat VERSION
latesttag="$(git describe --tags --match 'mutt-*-rel' --abbrev=0)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment