Any ideas why this environment variable isn’t being set correctly? This is on mac OS Sierra, xcode-select, and the works. ROOT6 compiled and installed just fine. This environment variable is screwing up though.
It appears thisroot.sh is incompatible with how the new bash_sessions are implemented in Mac. It seems like that for right now, you cannot have both ROOT6 and bash_sessions… and the fix (which isn’t really a fix, because it’s a bug with ROOT, I think) is
touch ~/.bash_sessions_disable
which tells Mac OS to disable that. And now it seems to work fine in a new shell
Lord Stark:~$ localSetupROOT6
eLord Stark:~$ echo $ROOTSYS
/usr/local/opt/root6
I just upgraded to mac OS Sierra, and thisroot.sh was definitely broken on installing ROOT. I don’t know what you mean by setting up bash sessions, because I’ve never touched that configuration at all.