Re: Setting shell variables (300 Views)
Occasional Visitor
Posts: 1
Registered: ‎07-15-2013
Message 1 of 3 (359 Views)

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
Posts: 26,105
Registered: ‎03-06-2006
Message 2 of 3 (354 Views)

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
Posts: 11
Registered: ‎11-15-2012
Message 3 of 3 (300 Views)

Re: Setting shell variables

export XXXX_HOME="certain path"

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.