Commit 69fcdc6a authored by Andreas Vögele's avatar Andreas Vögele Committed by Max Kellermann

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.
parent dda5415d
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment