6 # Limit the number of RSS feed entries.
9 link
=$
(curl
-s http
://sourceforge.net
/api
/file
/index
/project-id
/202880/mtime
/desc
/limit
/$limit/rss |
10 sed -nr "s/<link>(.+(mingw-w64-bin_i686-mingw_[0-9]+.zip).+)<\/link>/\2\t\1/p" |
13 file=$
(echo "$link" | cut
-f 1)
14 url
=$
(echo "$link" | cut
-f 2)
23 test -f $file || curl
-L $url -o $file ||
exit
26 test -f sysroot
/.root.init.marker
&&
27 test sysroot
/.root.init.marker
-nt $file ||
31 touch .root.init.marker