[Commits] [SCM] claws branch, master, updated. 4.3.0-25-gf6a366359
paul at claws-mail.org
paul at claws-mail.org
Tue Aug 13 08:34:46 UTC 2024
The branch, master has been updated
via f6a36635995becb411f30602424d2625dafd2298 (commit)
via 523b65e2a1dd7eaa6ff7e9de7667ceabaa04e407 (commit)
from 9994b3b0e13a09182578f595f96244a34e5f38ce (commit)
Summary of changes:
AUTHORS | 1 +
get-git-version | 8 ++++----
src/gtk/authors.h | 1 +
3 files changed, 6 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit f6a36635995becb411f30602424d2625dafd2298
Author: Paul <paul at claws-mail.org>
Date: Tue Aug 13 09:34:41 2024 +0100
use command instead of which
The command utility has standardised behavior and availability. Patch by Quentin Rameau
diff --git a/get-git-version b/get-git-version
index ff15f8cc2..e45fb09a6 100755
--- a/get-git-version
+++ b/get-git-version
@@ -1,6 +1,6 @@
#!/bin/sh
if test -d .git; then
- git=`which git`
+ git=`command -v git`
if test -x "$git"; then
version=`git describe --abbrev=6 --dirty --always`
echo "echo $version" > ./version
commit 523b65e2a1dd7eaa6ff7e9de7667ceabaa04e407
Author: Paul <paul at claws-mail.org>
Date: Tue Aug 13 09:33:03 2024 +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
diff --git a/AUTHORS b/AUTHORS
index 195a6694e..61eb7b00c 100644
--- 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
index 1c105039a..ff15f8cc2 100755
--- 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
index a2fb797c6..9c4129234 100644
--- 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",
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list