Languages and Scripting
Showing results for 
Search instead for 
Did you mean: 

Setting shell variables

Occasional Visitor

Setting shell variables

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

Dennis Handly
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"