[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-49-g4b18e53

by Werner Koch cvs at cvs.gnupg.org
Fri Nov 16 12:26:19 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  4b18e530f417d4af401a3fd721ad2a07e5310e3e (commit)
      from  5abc06114e91beca0177331e1c79815f5fb6d7be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4b18e530f417d4af401a3fd721ad2a07e5310e3e
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Nov 16 10:57:26 2012 +0100

    Improve parsing of the GIT revision number.
    
    * configure.ac (mmm4_revision): Use git rev-parse.

diff --git a/configure.ac b/configure.ac
index 3a5bccd..0e99ca5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,8 +33,8 @@ m4_define(mym4_version, [1.6.0])
 # decimalized short revision number, a beta version string, and a flag
 # indicating a development version (mym4_isgit). Note that the m4
 # processing is done by autoconf and not during the configure run.
-m4_define([mym4_revision], m4_esyscmd([git branch -v 2>/dev/null \
-          | awk '/^\* / {printf "%s",$3}']))
+m4_define([mym4_revision],
+          m4_esyscmd([git rev-parse --short HEAD | tr -d '\n\r']))
 m4_define([mym4_revision_dec],
           m4_esyscmd_s([echo $((0x$(echo ]mym4_revision[|head -c 4)))]))
 m4_define([mym4_betastring],

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list