gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -trim properly


From: gnunet
Subject: [gnunet] branch master updated: -trim properly
Date: Sat, 09 Oct 2021 15:01:55 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c5e203bf6 -trim properly
c5e203bf6 is described below

commit c5e203bf6aa5f0dd86e3214e6ed7fa854751ed3a
Author: Martin Schanzenbach <martin.schanzenbach@aisec.fraunhofer.de>
AuthorDate: Sat Oct 9 15:01:46 2021 +0200

    -trim properly
---
 configure.ac           | 2 +-
 contrib/get_version.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3308f0da5..fec1069fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@
 #
 AC_PREREQ([2.69])
 # Checks for programs.
-AC_INIT([gnunet],m4_esyscmd([contrib/get_version.sh | tr -d 
'\n']),[bug-gnunet@gnu.org])
+AC_INIT([gnunet],m4_esyscmd([contrib/get_version.sh]),[bug-gnunet@gnu.org])
 AC_CONFIG_AUX_DIR([build-aux])
 
 # check for legacy option that is no longer supported (#5627) and fail hard
diff --git a/contrib/get_version.sh b/contrib/get_version.sh
index eaa011aba..b57f3524f 100755
--- a/contrib/get_version.sh
+++ b/contrib/get_version.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-VERSION=$(git describe --tags | tr -d '\n')
+VERSION=$(git describe --tags)
 VERSION=${VERSION:1:${#VERSION}}
 echo $VERSION > .version
-echo  $VERSION
+echo  -n $VERSION

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]