Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176312 - How can i set Recursive Environment Variables?
Summary: How can i set Recursive Environment Variables?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 00:58 UTC by Camilo Miranda
Modified: 2011-10-30 22:54 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 Camilo Miranda 2007-04-28 00:58:35 UTC
This is notreally a bug, but i dont known where must i put it.
I want to know how to set an environment variable in /etc/env.d files, that calls another env variable recursively.

For example,

AXIS_HOME=/usr/local/axis-1_4
AXIS_LIB=$AXIS_HOME/lib

AXISCLASSPATH=${AXIS_LIB}/axis.jar:${AXIS_LIB}/commons-discovery.jar:${AXIS_LIB}/commons-logging.jar:${AXIS_LIB}/jaxrpc.jar

It doesnt work.
Comment 1 Jakub Moc 2007-04-28 10:41:00 UTC
You can't do that in /etc/env.d; that's intended and not a bug. The variables don't get expanded there. And please don't use bugzilla as a support forum, we have forums.gentoo.org, #gentoo and mailing lists for that; bugzilla is for bugs.

Dupe of Bug 126231
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-28 10:49:28 UTC
^^