From: | Roy Marples <uberlord@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] /{"",usr/}bin path changed. What is the right solution for scripts? | ||
Date: | Sun, 01 Apr 2007 10:01:19 | ||
Message-Id: | 20070401105631.2310df33@uberlaptop.marples.name | ||
In Reply to: | [gentoo-dev] /{"",usr/}bin path changed. What is the right solution for scripts? by Peter Volkov |
1 | On Sun, 01 Apr 2007 10:02:27 +0400 |
2 | Peter Volkov <pva@g.o> wrote: |
3 | > The question is: does there |
4 | > exist best practice on how to avoid this problem in future? Should we |
5 | > set some default PATH in scripts or should we call "command -p |
6 | > program"? |
7 | |
8 | A lot of Gentoo scriptlets such as gcc-config and others |
9 | source /etc/init.d/function.sh which sets up a default $PATH for you if |
10 | needed. |
11 | |
12 | Thanks |
13 | |
14 | Roy |
15 | -- |
16 | gentoo-dev@g.o mailing list |