Bug 5046

Summary: /etc/profile.d/lang.csh doesn't interprets "export" command in ~/.i18n
Product: Sisyphus Reporter: evseev <evseev>
Component: setupAssignee: Alexey Gladkov <legion>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
lang.csh.diff none

Description evseev 2004-08-22 00:14:51 MSD
.i18n file provided by etcskel package is actually shell script. /etc/profile.
d/lang.csh converts all lines having "NAME=VALUE" format to "setenv NAME VALUE". 
But additionally i18n may contain "export" command that is now not suppressed 
nor converted by lang.csh and causes error when our primary shell is tcsh.

This bug exists also in M22 classic initscripts package.

Steps to Reproduce:
1. Change your shell to tcsh
2. Check that ~/.i18n contain export command (this is so for russian locale)
3. Login

Actual Results:  
"export: Command not found" error on tcsh login.


Expected Results:  
no error message.
Comment 1 Dmitry V. Levin 2004-11-15 16:15:48 MSK
Created attachment 642 [details]
lang.csh.diff

Please try this patch.
Comment 2 Dmitry V. Levin 2004-11-15 23:44:04 MSK

*** This bug has been marked as a duplicate of 2618 ***