From 46349cbf6ee62e9a019b9b7f5a40493921ca7251 Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Mon, 3 Feb 2003 21:19:57 +0000 Subject: [PATCH] * autogen.sh: Fix unportable "+" sed regexp in gettext_ver calculation. Reported by vlad@geekizoid.com. --- ChangeLog | 5 +++++ autogen.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8ddc0ee5c..3be7d4e99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-03 Andrew V. Samoilov + + * autogen.sh: Fix unportable "+" sed regexp in gettext_ver + calculation. Reported by vlad@geekizoid.com. + 2003-01-31 Pavel Roskin * syntax/nroff.syntax: Make colors more compatible with the diff --git a/autogen.sh b/autogen.sh index cc1ae89e4..ade09ad95 100755 --- a/autogen.sh +++ b/autogen.sh @@ -33,8 +33,8 @@ gettext_ver=`$GETTEXTIZE --version | \ sed '2,$d; # remove all but the first line s/.* //; # take text after the last space s/-.*//; # strip "-pre" or "-rc" at the end - s/\([^.]\+\)/0\1/g; # prepend 0 to every token - s/0\([^.][^.]\)/\1/g; # trim 0 from long lokens + s/\([^.][^.]*\)/0\1/g; # prepend 0 to every token + s/0\([^.][^.]\)/\1/g; # trim 0 from long tokens s/\.//g; # remove dots '` -- 2.11.4.GIT