Commit 0661c4b
Fix thisroot.sh to properly remove previous ROOT version from paths
The second call to drop_from_path was using the original path variable
instead of $newpath (result of first call), causing only the last
transformation to be applied. This affected LD_LIBRARY_PATH,
DYLD_LIBRARY_PATH, SHLIB_PATH, LIBPATH, and PYTHONPATH.
Fixes the issue where old_rootsys/lib was not being removed when
switching ROOT versions.
Co-authored-by: pcanal <[email protected]>1 parent a9e5f8c commit 0661c4b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments