Bug 24412 - wrong behaviour of mc.gentoo
Bug#: 24412 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: sergem@rol.ru
Component: Applications
URL: 
Summary: wrong behaviour of mc.gentoo
Keywords:  
Status Whiteboard: 
Opened: 2003-07-13 14:44 0000
Description:   Opened: 2003-07-13 14:44 0000
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 From Heinrich Wendel (RETIRED) 2003-08-21 04:20:04 0000 -------
thx, fixed in -r2