* autogen.sh: Fix unportable "+" sed regexp in gettext_ver

calculation.  Reported by vlad@geekizoid.com.
This commit is contained in:
Andrew V. Samoilov 2003-02-03 21:19:57 +00:00
parent 482e675156
commit 46349cbf6e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
* autogen.sh: Fix unportable "+" sed regexp in gettext_ver
calculation. Reported by vlad@geekizoid.com.
2003-01-31 Pavel Roskin <proski@gnu.org> 2003-01-31 Pavel Roskin <proski@gnu.org>
* syntax/nroff.syntax: Make colors more compatible with the * syntax/nroff.syntax: Make colors more compatible with the

View File

@ -33,8 +33,8 @@ gettext_ver=`$GETTEXTIZE --version | \
sed '2,$d; # remove all but the first line sed '2,$d; # remove all but the first line
s/.* //; # take text after the last space s/.* //; # take text after the last space
s/-.*//; # strip "-pre" or "-rc" at the end s/-.*//; # strip "-pre" or "-rc" at the end
s/\([^.]\+\)/0\1/g; # prepend 0 to every token s/\([^.][^.]*\)/0\1/g; # prepend 0 to every token
s/0\([^.][^.]\)/\1/g; # trim 0 from long lokens s/0\([^.][^.]\)/\1/g; # trim 0 from long tokens
s/\.//g; # remove dots s/\.//g; # remove dots
'` '`