Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429960 - eselect-editor advises users to source /etc/profile
Summary: eselect-editor advises users to source /etc/profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: Bug, InVCS
Depends on:
Blocks:
 
Reported: 2012-08-05 07:30 UTC by Richard Yao (RETIRED)
Modified: 2012-10-23 18:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.