Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24412 - wrong behaviour of mc.gentoo
Summary: wrong behaviour of mc.gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 14:44 UTC by Serge Matveev
Modified: 2003-08-21 04:20 UTC (History)
0 users

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 Serge Matveev 2003-07-13 14:44:27 UTC
mc.gentoo must not include ". /etc/profile"
If I add recomended strings to my .bashrc 

# Midnight Commander chdir enhancement
if [ -f /usr/share/mc/mc.gentoo ]; then
     . /usr/share/mc/mc.gentoo
fi

Any subshells silently discardes my .(bash_)profile environment changes


Reproducible: Always
Steps to Reproduce:
By example:

 $ echo $GDK_USE_XFT 
1
 $ export GDK_USE_XFT=0
 $ echo $GDK_USE_XFT 
0
 $ bash
 $ echo $GDK_USE_XFT
1
 $
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-08-21 04:20:04 UTC
thx, fixed in -r2