Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Sat, Mar 26, 2011 at 11:41:38PM +0100, Francois Tigeot <ftigeot@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.

Attachment: pgp1GhZ6TsmNb.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.