Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You most likely need to source the setup file after escalating to a new shell with root privileges.

Or use -E perhaps: https://stackoverflow.com/questions/8633461/how-to-keep-environment-variables-when-using-sudo