wok diff gcc49/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (17 months ago) |
parents | 52649f27a0da |
children |
line diff
1.1 --- a/gcc49/receipt Sun Mar 13 12:06:14 2022 +0000 1.2 +++ b/gcc49/receipt Thu Jul 20 14:03:05 2023 +0000 1.3 @@ -21,7 +21,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \ 1.8 + wget -O - https://ftp.gnu.org/gnu/$SOURCE/ 2>/dev/null | \ 1.9 + wget -O - https://ftp.gnu.org/gnu/gcc/ 2>/dev/null | \ 1.10 sed '/gcc-4\.9/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q 1.11 } 1.12