1748138 Members
3885 Online
108758 Solutions
New Discussion

Setting shell variables

 
ranjinis
New Member

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

2 REPLIES 2
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"

dabella12
Occasional Advisor

Re: Setting shell variables

export XXXX_HOME="certain path"