Operating System - HP-UX
1847073 Members
5278 Online
110262 Solutions
New Discussion

Using shell variables in SD packages (PSF)

 
SOLVED
Go to solution
Muthukumar_5
Honored Contributor

Using shell variables in SD packages (PSF)

Hai All,

How to use the environment variables on the PSF script files. The default SHELL variables in the script are needed to be HARD CODED. If I use the /usr/bin/env command on like postinstall script,swinstall uses as SD's environment call not the shell environment call.

How to use the default shell variables in PSF scripts.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
1 REPLY 1
Jeff_Traigle
Honored Contributor
Solution

Re: Using shell variables in SD packages (PSF)

I ran into this problem when trying to add to the PATH variable in root's .profile for a software bundle I was putting together. You need to escpae the $ so SD doesn't do the substitution when doing its thing. In my case, I needed \${PATH} instead of ${PATH} in the variable assignment in my configure script.
--
Jeff Traigle