From 69fcdc6a0722e32332a77a567e9408cb8504c62c Mon Sep 17 00:00:00 2001 From: Andreas Vögele Date: Sat, 19 Jun 2010 13:49:20 +0200 Subject: 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. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index dfd33c0e..f45d5886 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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" -- cgit v1.2.3