[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#395262: choose-mirror: requires internet access to build



tags 395262 important
thanks

On Wed, Oct 25, 2006 at 11:28:45PM +0200, Lucas Nussbaum wrote:
> Building choose-mirror seems to require network access, since it
> retrieves a file found on cvs.d.o:
> if [ "$ONLINE" != n ]; then \
>   if wget -nv 'http://cvs.debian.org/*checkout*/webwml/english/mirror/Mirrors.masterlist?rev=HEAD&cvsroot=webwml&content-type=text/plain'
> -O - > Mirrors.masterlist.new && \
>     test -s Mirrors.masterlist.new; then \
> 	mv Mirrors.masterlist.new Mirrors.masterlist; \
>    else \
>       rm -f Mirrors.masterlist.new; \
>    fi; \
> fi

This doesn't cause a build failure, because all errors are checked and a
failure in wget is ignored.  Downgrading accordingly.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: