[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

setting environment variables in spec file



Hi,
I wanted to update my PATH and add new ENVIRONMENT variables in my RPM. I tried doing the following
 
1) export TEST="my value"
or
2) export TEST='myvalue'
 in %post section. It didnt give any error while installing, but nothing was set. I couldnt see any new TEST environment variable at all.
 
What could be possibly wrong ? Am I missing something or am I doing it in the wrong way ?
 
Thanks
Lakshmi
 
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]