diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-08-02 20:17:41 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-08-02 20:17:41 -0400 |
commit | 4342dc1f0558093f01901a7641e6604f9dd7855e (patch) | |
tree | f7891118ab277ee00add03fc3e4adb2ba2497040 | |
parent | 3f9bd117b37c9feb9f37a6e9ac84bbb4697f86d3 (diff) |
Fix to use of .hg_archival.txt (thanks to Austin Seipp)
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) |