wok diff h8300-gcc3/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 600949c94110 |
children | d79ed38ace18 |
line diff
1.1 --- a/h8300-gcc3/receipt Sun Sep 29 10:32:18 2013 +0000 1.2 +++ b/h8300-gcc3/receipt Sat Apr 02 17:34:21 2022 +0100 1.3 @@ -16,6 +16,13 @@ 1.4 DEPENDS="h8300-binutils" 1.5 BUILD_DEPENDS="bison flex h8300-binutils" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $GNU_MIRROR/$SOURCE 2>/dev/null | \ 1.11 + sed '/gcc-3/!d;s|.*gcc-||;s|.t.*||;s|/.*||' | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Configuration only needs included if we're in the build/wok environment 1.15 if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then 1.16 . $WOK/h8300-toolchain/stuff/h8300.conf