Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8901 - env-update parsing problem
Summary: env-update parsing problem
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 12:08 UTC by gaplo
Modified: 2011-10-30 22:20 UTC (History)
2 users (show)

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 gaplo 2002-10-08 12:08:23 UTC
I added a file in /etc/env.d/
the content is:

LANG="zh_TW.Big5"
LC_CTYPE="zh_TW.Big5"
LC_MESSAGE="zh_TW.Big5"
XMODIFIERS="@im=xcin"

All the lines above are added to the file /etc/profile.env except the last line,
which is recognized as

XMODIFIERS="@im xcin"
the equal sign = is missed
Comment 1 gaplo 2002-10-08 12:45:46 UTC
Actually the env-update can update the /etc/profile.env correctly.
But after restart the PC, the equal sign is missed.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-10-10 13:06:31 UTC
So are you saying that it happens on boot?
Are you talking about in the environment, or in
profile.env?

Explain a bit more... How did you figure out what you
think is the issue.
Comment 3 gaplo 2002-10-10 20:04:35 UTC
I created a file called 50big5 in /etc/env.d/, the file contains the following
lines.

LANG="zh_TW.Big5"
LC_CTYPE="zh_TW.Big5"
LC_MESSAGE="zh_TW.Big5"
XMODIFIERS="@im=xcin"

After I created the file, I use env-update to update the file profile.env and it
can correctly add the above lines to the file profile.env .
However, after I restart the PC I edit the file profile.env and noticed that
XMODIFIERS="@im=xcin" has changed to XMODIFIERS"=@im xcin", the equal sign is
missed.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 13:56:45 UTC
This is a bug in rc-envupdate.sh.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 13:57:23 UTC
Fixed on CVS, should be fixed in baselayout-1.8.5.8 that will be out in a few
hours ...