If we can't get login into ftp.freebsd.org, try it 5 minutes

and 10 minutes later again.
This commit is contained in:
Wolfram Schneider 1999-05-07 06:59:05 +00:00
parent 924dbe49df
commit f2946eb255
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4835

View file

@ -4,7 +4,7 @@
# packages - create a sorted list of precompiled packages which
# are available at the FreeBSD FTP Server.
#
# $Id: packages,v 1.5 1999-05-06 11:34:24 wosch Exp $
# $Id: packages,v 1.6 1999-05-07 06:59:05 wosch Exp $
PATH=/bin:/usr/bin:/usr/local/bin; export PATH
@ -13,7 +13,7 @@ url="ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/$release/All/"
temp=_lynx$$
if lynx -source "$url" > $temp || ( sleep 300; lynx -source "$url" > $temp )
if lynx -source "$url" > $temp || ( sleep 300; lynx -source "$url" > $temp ) || ( sleep 300; lynx -source "$url" > $temp )
then
perl -ne 'print $1, "\n" if m%href="([^"]+)"%oi' < $temp |
perl -npe 's%.*/%%' | sort | grep -v '^\.\.$'