[csw-maintainers] build requirements
Trygve Laugstøl
trygvel at opencsw.org
Thu Dec 18 23:11:23 CET 2008
Philip Brown wrote:
> On Wed, Dec 17, 2008 at 01:51:58AM +0100, Trygve Laugstøl wrote:
>> I assume that 3) would lead to requiring me having /opt/csw/gnu first in
>> my path when using git and that is not going to happen.
>
> I'll point out that, even though that is not the case for this PARTICULAR
> program... a potential way of solving this sort of thing, is to make the
> top-level binary be a wrapper script, that does something along the
> lines of
>
> export PATH=/opt/csw/gnu:$PATH
> exec $0 $*
>
> thus it would only affect the prorgram and its children, rather than the
> user's environment at large.
That is indeed true, I've even done similar tricks myself before :)
--
Trygve
More information about the maintainers
mailing list