talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 523b65e2a1dd7eaa6ff7e9de7667ceabaa04e407
parent 9994b3b0e13a09182578f595f96244a34e5f38ce
Author: Paul <paul@claws-mail.org>
Date:   Tue, 13 Aug 2024 09:33:03 +0100

remove test obsolete feature

The test utility precedence associativity parentheses have been obsolete for some time and are now non portable, according to POSIX. Patch by Quentin Rameau

Diffstat:
MAUTHORS | 1+
Mget-git-version | 6+++---
Msrc/gtk/authors.h | 1+
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/AUTHORS b/AUTHORS @@ -351,3 +351,4 @@ contributors (in addition to the above; based on Changelog) nycex Gianni Ceccarelli Paul Wolneykien + Quentin Rameau diff --git a/get-git-version b/get-git-version @@ -1,14 +1,14 @@ #!/bin/sh -if test \( -d .git \); then +if test -d .git; then git=`which git` - if test \( -x "$git" \); then + if test -x "$git"; then version=`git describe --abbrev=6 --dirty --always` echo "echo $version" > ./version else echo "Error: *** git not found. See http://git-scm.com/" exit 1 fi -elif test \( -s ./version \); then +elif test -s ./version; then version=`sh -c ". ./version"` else echo "Error: *** invalid tree. Neither '.git' nor 'version' were found" diff --git a/src/gtk/authors.h b/src/gtk/authors.h @@ -268,6 +268,7 @@ static char *CONTRIBS_LIST[] = { "Quar", "Don Quijote", "Steve Rader", +"Quentin Rameau", "Steve Randall", "Jens Rantil", "Ravemax",