Setting shell variables (200 Views)
Reply
Occasional Visitor
ranjinis
Posts: 1
Registered: ‎07-15-2013
Message 1 of 3 (200 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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,953
Registered: ‎03-06-2006
Message 2 of 3 (195 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"

Please use plain text.
Occasional Advisor
dabella12
Posts: 11
Registered: ‎11-15-2012
Message 3 of 3 (141 Views)

Re: Setting shell variables

export XXXX_HOME="certain path"

Please use plain text.
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