Daniel Barkalow wrote:
Allow PORTAGE_CONFIGROOT to be set as a command-line option. It can be annoying to get environment variables to emerge, particularly when you need sudo and you only want the environment variable some of the time.

I think it would be better to solve the problem with sudo at its root:

/etc/sudoers has the following:

# Reset environment by default
Defaults        env_reset

Commenting that out reverts this annoying behaviour and "fixes" all kinds of "bugs".

--
Kind Regards,

Simon Stelling
Gentoo/AMD64 Developer
--
gentoo-portage-dev@gentoo.org mailing list

Reply via email to