Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
3e02f71b
Commit
3e02f71b
authored
Apr 03, 2017
by
mark
Browse files
BUG: avoid absolute path for 'lsof'
- has different locations on different systems (eg, /usr/bin/lsof or /sbin/lsof)
parent
aa5e5c29
Changes
1
Hide whitespace changes
Inline
Side-by-side
etc/cshrc
View file @
3e02f71b
...
...
@@ -42,7 +42,7 @@ setenv WM_PROJECT_VERSION plus
# - If this does not produce the desired result, please set one of the fallback
# values to an appropriate path.
#
setenv FOAM_INST_DIR
`
/usr/bin/
lsof +p
$$
|&
\
setenv FOAM_INST_DIR
`
lsof +p
$$
|&
\
sed
-n
-e
's@[^/]*@@'
-e
's@/'
$WM_PROJECT
'[^/]*/etc/cshrc@@p'
`
# setenv FOAM_INST_DIR $HOME/$WM_PROJECT
# setenv FOAM_INST_DIR /opt/$WM_PROJECT
...
...
Prashant Sonakar
@Prashant
·
Apr 03, 2017
Developer
fixes
#443 (closed)
fixes #443
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment