Re: Setting shell variables (206 Views)
Reply
Occasional Visitor
ranjinis
Posts: 1
Registered: ‎07-15-2013
Message 1 of 3 (265 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
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 2 of 3 (260 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
dabella12
Posts: 11
Registered: ‎11-15-2012
Message 3 of 3 (206 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.