Languages and Scripting
Showing results for 
Search instead for 
Do you mean 

Setting shell variables

Occasional Visitor

Setting shell variables

[ Edited ]

I need to set $HOME path in my application where the files ll b read while compiling.

When i try to set $XXX_HOME = "certain path" , i am getting error as "$XXX_HOME : parameter not set"



P.S. The thread subject has beed edited. - HP Forum Moderator

Acclaimed Contributor Acclaimed Contributor

Re: Setting shell variables

If you want to set a shell variable, you don't use the "$", if on the left side:

XXX_HOME="certain path"

Occasional Advisor

Re: Setting shell variables

export XXXX_HOME="certain path"