Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10614 - Evaluation of variables in env.d files
Summary: Evaluation of variables in env.d files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-12 00:15 UTC by Gilles G
Modified: 2003-10-21 16:09 UTC (History)
3 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 Gilles G 2002-11-12 00:15:22 UTC
When creating an env.d file for Oracle I would like to have 
to set my env as followed :

ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/9.2.0
PATH=$ORACLE_HOME/bin
LDPATH=$ORACLE_HOME/lib

As env-update do not evaluate variable, I have to set everything right.

ORACLE_BASE=/opt/oracle
ORACLE_HOME=/opt/oracle/product/9.2.0
PATH=/opt/oracle/product/9.2.0/bin
LDPATH=/opt/oracle/product/9.2.0/lib

May be a good feature for env-update.
Might be complex though, because then of order of lines.

Actually using portage 2.0.43
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-18 08:59:45 UTC
This should be fixed at least for /sbin/rc-envupdate (only run at boot in
/etc/init.d/bootmisc).
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-10-21 16:08:54 UTC
${ORACLE_BASE} works.