Problem reported by Dagobert Michelsen in:
http://lists.gnu.org/archive/html/grep-devel/2017-08/msg00002.html
* build-aux/git-version-gen (v_from_git):
Use expr instead of shell substitution.
+2017-08-20 Paul Eggert <eggert@cs.ucla.edu>
+
+ git-version-gen: port to Solaris 10
+ Problem reported by Dagobert Michelsen in:
+ http://lists.gnu.org/archive/html/grep-devel/2017-08/msg00002.html
+ * build-aux/git-version-gen (v_from_git):
+ Use expr instead of shell substitution.
+
2017-08-19 Bruno Haible <bruno@clisp.org>
host-cpu-c-abi: Improve detection of MIPS ABI.
#!/bin/sh
# Print a version string.
-scriptversion=2017-08-07.06; # UTC
+scriptversion=2017-08-20.18; # UTC
# Copyright (C) 2007-2017 Free Software Foundation, Inc.
#
# tag or the previous older version that did not?
# Newer: v6.10-77-g0f8faeb
# Older: v6.10-g0f8faeb
- case ${v#-g*} in
+ vprefix=`expr "X$v" : 'X\(.*\)-g[^-]*$'` || vprefix=$v
+ case $vprefix in
*-*) : git describe is probably okay three part flavor ;;
*)
: git describe is older two part flavor