This is very strange. WHen I log into QNX I have noticed that it isn’t sourcing /etc/profile. That’s a bit of a problem since I need to add some customizations. So I tried creating .profile in my home directory and have it do a
so that it sources /etc/profile. Unfortunately after logging in I found that my .profile wasn’t sourced, either.
So what’s the deal with sh? I tried setting my shell to bash which made everything seem to source just fine. One problem: I couldn’t compile anymore - can’t find gcc when I’m running bash.
I’d prefer to run bash, but sh will do. But I’d like sh to work like it has elsewhere. Right now I’m not really sure what to do to get it sourcing /etc/profile.