in reply to Re: sourcing a shell script/.profile and importing into %ENV
in thread sourcing a shell script/.profile and importing into %ENV

Thanks for your input, but that is sort of the problem I am having. The .profile for the user that I need to source is not just NAME=VALUE pairs, but it has logic in it to set vars under certain circumstances. It even has calls to other programs that it sources, so it has to be run as '. .profile' would do it.

Yeah, a dumb design, but that's what I have to work with. I didn't do it, but I'm now stuck with it.

  • Comment on Re: Re: sourcing a shell script/.profile and importing into %ENV