summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-08-02 20:17:41 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2011-08-02 20:17:41 -0400
commit4342dc1f0558093f01901a7641e6604f9dd7855e (patch)
treef7891118ab277ee00add03fc3e4adb2ba2497040
parent3f9bd117b37c9feb9f37a6e9ac84bbb4697f86d3 (diff)
Fix to use of .hg_archival.txt (thanks to Austin Seipp)
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index cd01a3b6..158fe2a3 100755
--- a/configure
+++ b/configure
@@ -12177,7 +12177,7 @@ if test -z $SQHEADER; then
fi
if test $WORKING_VERSION = "1"; then
- VERSION="$VERSION + `hg identify || cat .hg_archival.txt || echo ?`"
+ VERSION="$VERSION + `hg identify || (cat .hg_archival.txt | grep 'node\:') || echo ?`"
fi
diff --git a/configure.ac b/configure.ac
index a4563564..62f0c3aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,7 +81,7 @@ if test [-z $SQHEADER]; then
fi
if test [$WORKING_VERSION = "1"]; then
- VERSION="$VERSION + `hg identify || cat .hg_archival.txt || echo ?`"
+ VERSION="$VERSION + `hg identify || (cat .hg_archival.txt | grep 'node\:') || echo ?`"
fi
AC_SUBST(CC)