On Sun, 01 Apr 2007 10:02:27 +0400
Peter Volkov <[EMAIL PROTECTED]> wrote:
> The question is: does there
> exist best practice on how to avoid this problem in future? Should we
> set some default PATH in scripts or should we call "command -p
> program"?

A lot of Gentoo scriptlets such as gcc-config and others
source /etc/init.d/function.sh which sets up a default $PATH for you if
needed.

Thanks

Roy
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to