I’ve just noticed that thisroot.sh places the root directory at the beginning of the PATH variable. Similarly the ROOT variables are prepended to LD_LIBRARY_PATH ans so on. It is typically poor practice to place these items prior to the system’s path locations. My question is why prepend over append?
I’ve just noticed that thisroot.sh places the root directory at the beginning of the PATH variable. Similarly the ROOT variables are prepended to LD_LIBRARY_PATH ans so on. It is typically poor practice to place these items prior to the system’s path locations. My question is why prepend over append?
Thanks[/quote]
To avoid subtle but annoying problems with a “wrong” ROOT started/“wrong” libraries loaded?