autogen.sh: don't use "+" in sed expression
Replaces the expression [0-9]\+ by [0-9][0-9]* in autogen.sh. The special character \+ is not POSIX compatible and thus not supported by all sed implementations.
This commit is contained in:
parent
dda5415def
commit
69fcdc6a07
@ -9,7 +9,7 @@ srcdir="`dirname $0`"
|
||||
test -z "$srcdir" && srcdir=.
|
||||
cd "$srcdir"
|
||||
DIE=
|
||||
AM_VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9]\.[0-9]\+\).*/\1/"
|
||||
AM_VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9]\.[0-9][0-9]*\).*/\1/"
|
||||
AC_VERSIONGREP="sed -e s/.*[^0-9\.]\([0-9]\.[0-9][0-9]\).*/\1/"
|
||||
VERSIONMKINT="sed -e s/[^0-9]//"
|
||||
if test -n "$AM_FORCE_VERSION"
|
||||
|
Loading…
Reference in New Issue
Block a user