Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171013 - env-update does not resolve variables any more
Summary: env-update does not resolve variables any more
Status: RESOLVED DUPLICATE of bug 151622
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-15 11:43 UTC by Gabor Kapitar
Modified: 2007-03-15 11:46 UTC (History)
0 users

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 Gabor Kapitar 2007-03-15 11:43:11 UTC
It seems that env-update recently ignores variables in the config files of /etc/env.d

example:

content of /etc/env.d/20sun-java:
DIRNAME="jdk"
JAVA_HOME=/opt/java/${DIRNAME}
JRE_HOME=/opt/java/${DIRNAME}/jre
PATH="${JAVA_HOME}/bin"

after running env-update, the /etc/profile.env has following entries:
export JAVA_HOME='/opt/java/${DIRNAME}'
export JRE_HOME='/opt/java/${DIRNAME}/jre'
...
export PATH='/opt/bin:/usr/lib/ccache/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:${JAVA_HOME}/bin:/usr/qt/3/bin:/opt/enlightenment/bin:/usr/games/bin'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 11:45:48 UTC
Those files are broken; env-update is not supposed to expand variables.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 11:46:26 UTC

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