[Gpa-commits] r825 - trunk
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Feb 16 01:05:04 CET 2008
Author: marcus
Date: 2008-02-16 01:05:03 +0100 (Sat, 16 Feb 2008)
New Revision: 825
Modified:
trunk/ChangeLog
trunk/configure.ac
Log:
2008-02-16 Marcus Brinkmann <marcus at g10code.de>
* configure.ac: Update macro svn_revision.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-02-15 23:57:03 UTC (rev 824)
+++ trunk/ChangeLog 2008-02-16 00:05:03 UTC (rev 825)
@@ -1,3 +1,7 @@
+2008-02-16 Marcus Brinkmann <marcus at g10code.de>
+
+ * configure.ac: Update macro svn_revision.
+
2008-02-05 Marcus Brinkmann <marcus at g10code.de>
* configure.ac: Fix download URLs. Reported by Alberto
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2008-02-15 23:57:03 UTC (rev 824)
+++ trunk/configure.ac 2008-02-16 00:05:03 UTC (rev 825)
@@ -1,7 +1,7 @@
# configure.ac for GPA
# Copyright (C) 2000, 2001 Werner Koch
# Copyright (C) 2002, 2003, 2004 Miguel Coca
-# Copyright (C) 2005, 2006, 2007 g10 Code GmbH
+# Copyright (C) 2005, 2006, 2007, 2008 g10 Code GmbH
#
# This file is part of GPA.
#
@@ -32,8 +32,8 @@
m4_define(my_version, [0.7.7])
m4_define(my_issvn, yes)
-m4_define([svn_revision], m4_esyscmd([echo -n $((svn info 2>/dev/null \
- ||echo 'Revision: 0')|sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)]))
+m4_define([svn_revision], m4_esyscmd([echo -n $( (svn info 2>/dev/null \
+ || echo 'Revision: 0')|sed -n '/^Revision:/ {s/[^0-9]//gp;q;}')]))
AC_INIT([gpa], my_version[]m4_if(my_issvn,[yes],[-svn[]svn_revision]),
[bug-gpa at gnupg.org])
More information about the Gpa-commits
mailing list