Skip to content

thisroot.sh no longer remove previous version from the paths #20643

@pcanal

Description

@pcanal

As reported at https://root-forum.cern.ch/t/the-thisroot-sh-misbahes-in-root-6-34/64513, since v6.34.00, thisroot.sh no longer remove the locations of a previously setup version of ROOT from any of the paths.

This was introduce in #16027 where the code pattern should actually be:

      if [ -n "${LD_LIBRARY_PATH-}" ]; then
         drop_from_path "$LD_LIBRARY_PATH" "${old_rootsys}/lib"
         drop_from_path "$newpath" "${old_rootsys}/lib/root"
         LD_LIBRARY_PATH=$newpath
      fi

Metadata

Metadata

Type

Projects

Status

No status

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions