[Libreoffice] [PATCH] Fix curl location in download script

Francois Tigeot ftigeot at wolfpond.org
Sat Mar 26 22:50:06 PDT 2011


Hi Miklos,

On Sun, Mar 27, 2011 at 12:14:51AM +0100, Miklos Vajna wrote:
> On Sat, Mar 26, 2011 at 11:41:38PM +0100, Francois Tigeot <ftigeot at wolfpond.org> wrote:
> > 
> > The attached patch replaces the strange and broken lookup logic
> > present in the script by a single 'which' command.
> 
> Won't this case a warning
> 
> bash: curl: command not found
> 
> on machines without curl? Maybe a better approarch is to see if `type -p
> curl` returns anything.

No, it will just set the curl variable to 'curl not found'

curl is required at the autogen.sh stage: if I try to run ./autogen.sh
without any curl package installed, I get this error:

configure: error: install curl to run this script

-- 
Francois Tigeot


More information about the LibreOffice mailing list