tastytea:
> On 2022-05-20 17:22+0200 k...@aspodata.se wrote:
> 
> > Neil Bothwick:
> > > On Fri, 20 May 2022 15:55:22 +0200 (CEST), k...@aspodata.se wrote:  
> > > > How do I run emerge so that when buildin/emerging the package
> > > > another PATH is used ?  
> > > 
> > > PATH is just an environment variable, so
> > > 
> > > PATH="/path1:/path2" emerge blah
> > > 
> > > should do that.  
> > 
> > Doesn't seems to work...
...
> It probably reinitialises PATH when dropping to the portage user? Try
> modifying PATH in /etc/portage/bashrc — note that this file is sourced
> multiple times during the build, see
> <https://wiki.gentoo.org/wiki//etc/portage/bashrc>.

Thanks, that solved it.

Regards,
/Karl Hammar


Reply via email to