[vlc-devel] [PATCH] contrib/tools: use BSD fetch if curl/wget are absent

Rémi Denis-Courmont remi at remlab.net
Fri Jan 27 12:39:49 CET 2012


On Fri, 27 Jan 2012 06:28:30 -0500, Rafaël Carré <funman at videolan.org>
wrote:
> fetch(1) will always exit with status > 0 if not downloading a file
> However we can rely on it to be present in /usr/bin since it's part of
the
> base system

If 'which' is not available on BSD, then 'test' seems more natural than
'ls'.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list