aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorAndreas Vögele <andreas@kurzegasse.de>2010-06-19 13:49:20 +0200
committerMax Kellermann <max@duempel.org>2010-06-19 13:49:20 +0200
commit69fcdc6a0722e32332a77a567e9408cb8504c62c (patch)
tree050882e1ab25836f1ab154a22beafb8c0ce93717 /autogen.sh
parentdda5415def1ce78febb75199e5986aa051b00e96 (diff)
downloadmpd-69fcdc6a0722e32332a77a567e9408cb8504c62c.tar.gz
mpd-69fcdc6a0722e32332a77a567e9408cb8504c62c.tar.xz
mpd-69fcdc6a0722e32332a77a567e9408cb8504c62c.zip
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.
Diffstat (limited to '')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index dfd33c0ee..f45d58861 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"