[Libreoffice] [PATCH] Fix curl location in download script
Miklos Vajna
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.
Hi Francois,
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
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110327/24f1b893/attachment.pgp>
More information about the LibreOffice
mailing list