Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
50df6744
Commit
50df6744
authored
15 years ago
by
Ger van Diepen
Browse files
Options
Downloads
Patches
Plain Diff
bug 1421:
In csh cd;pwd resolves symlinks which we do not want. Skip it if possible.
parent
55a2d183
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LCS/Tools/src/lofarinit.csh.in
+6
-1
6 additions, 1 deletion
LCS/Tools/src/lofarinit.csh.in
with
6 additions
and
1 deletion
LCS/Tools/src/lofarinit.csh.in
+
6
−
1
View file @
50df6744
...
...
@@ -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).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment