Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 429960

Summary: eselect-editor advises users to source /etc/profile
Product: Gentoo Hosted Projects Reporter: Richard Yao (RETIRED) <ryao>
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: RESOLVED FIXED    
Severity: QA CC: prefix
Priority: Normal Keywords: Bug, InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Yao (RETIRED) gentoo-dev 2012-08-05 07:30:32 UTC
The following just happened on a prefix installation that I am using:

# eselect editor set vim
Setting EDITOR to /root/gentoo/usr/bin/vim ...
Run ". /etc/profile" to update the variable in your shell.

In this case, it should be printing /root/gentoo/etc/profile, not /etc/profile.
Comment 1 Ulrich Müller gentoo-dev 2012-08-13 09:51:51 UTC
Right, we need to add ${EROOT} here.
Comment 3 Ulrich Müller gentoo-dev 2012-10-23 18:09:50 UTC
Fixed in eselect-1.3.3.
Thank you for reporting.