Skip to content
Snippets Groups Projects
Commit 50df6744 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1421:

In csh cd;pwd resolves symlinks which we do not want. Skip it if possible.
parent 55a2d183
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,12 @@ else
endif
# Now define the new LOFARROOT
setenv LOFARROOT `cd >/dev/null $lfr_root; pwd` # make path absolute
# If not needed, do not do cd;pwd because that resolves symlinks.
if ( $lfr_root =~ /* ) then
setenv LOFARROOT $lfr_root
else
setenv LOFARROOT `cd >/dev/null $lfr_root; pwd` # make path absolute
endif
# Also strip this path from the current paths (in case it is contained in
# it).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment