bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#284637: wrong location or perms on /usr/bin/gettext.sh (fwd)


From: Bruno Haible
Subject: Re: Bug#284637: wrong location or perms on /usr/bin/gettext.sh (fwd)
Date: Sat, 11 Dec 2004 14:55:37 +0100
User-agent: KMail/1.5

martin f krafft wrote:
> In any case, the location will be well-defined on any Debian system, so
> it would be even better to just hardcode it.

You are mistaken here. Hardcoding paths is evil: It would not allow people
to install and use packages that make use of gettext.sh, without having write
access to system directories (which usually implies root permissions).

The only alternative to hardcoded paths is to use the search mechanism
built into /bin/sh. And it relies on $PATH.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]