Mercurial > mxe-octave
changeset 105:573f2df1961e
bugfix in gcc version recognition
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 11 Jan 2008 00:42:42 +0100 |
parents | 36dae867aea9 |
children | c28f1d5589c4 |
files | build_mingw_cross_env.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/build_mingw_cross_env.sh Thu Jan 10 21:53:36 2008 +0000 +++ b/build_mingw_cross_env.sh Fri Jan 11 00:42:42 2008 +0100 @@ -361,7 +361,7 @@ --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"