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

Bug 24412

Summary: wrong behaviour of mc.gentoo
Product: Gentoo Linux Reporter: Serge Matveev <sergem>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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