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

Rafaël Carré funman at videolan.org
Fri Jan 27 14:41:54 CET 2012


On Fri, 27 Jan 2012 12:39:49 +0100
Rémi Denis-Courmont <remi at remlab.net> wrote:

> 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'.

Ah good catch, I will use which which is available



More information about the vlc-devel mailing list