ALT Linux Bugzilla – #5046
/etc/profile.d/lang.csh doesn't interprets "export" command in ~/.i18n
Last modified: 2007-04-21 16:19:07
You need to
before you can comment on or make changes to this bug.
.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)
"export: Command not found" error on tcsh login.
no error message.
Created an attachment (id=642) [details]
Please try this patch.
*** This bug has been marked as a duplicate of 2618 ***