bugfix in gcc version recognition

This commit is contained in:
Volker Grabsch 2008-01-11 00:42:42 +01:00
parent 08c1b5c5b5
commit 60b81f4040
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ case "$1" in
--new-versions)
VERSION=`
wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=2435' |
$SED -n 's,.*gcc-\([0-9][^>]*\)-src\.tar.*,\1,p' |
$SED -n 's,.*gcc-\([4-9][^>]*\)-src\.tar.*,\1,p' |
head -1`
test -n "$VERSION"
$SED "s,^VERSION_gcc=.*,VERSION_gcc=$VERSION," -i "$0"