[Libreoffice] [PATCH] Fix curl location in download script
vmiklos at frugalware.org
Sat Mar 26 16:14:51 PDT 2011
On Sat, Mar 26, 2011 at 11:41:38PM +0100, Francois Tigeot <ftigeot at wolfpond.org> wrote:
> I've recently been bitten by the 'download' script, which was
> unable to use curl, even tough it is in my $PATH.
> The attached patch replaces the strange and broken lookup logic
> present in the script by a single 'which' command.
> If there is no objection, I'll push this patch in a few days.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the LibreOffice