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
This should be fixed at least for /sbin/rc-envupdate (only run at boot in /etc/init.d/bootmisc).
${ORACLE_BASE} works.