Skip to content
Snippets Groups Projects
Commit 98b59141 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

CONFIG: adjust MANPATH if an OpenFOAM doc/man1 directory exists

parent 50ccb197
Branches
Tags
No related merge requests found
...@@ -180,6 +180,11 @@ _foamEtc -config CGAL ...@@ -180,6 +180,11 @@ _foamEtc -config CGAL
_foamEtc -config scotch _foamEtc -config scotch
_foamEtc -config FFTW _foamEtc -config FFTW
if [ -d "$WM_PROJECT_DIR/doc/man1" ]
then
_foamAddMan "$WM_PROJECT_DIR/doc"
fi
# Interactive shell # Interactive shell
if /usr/bin/tty -s 2>/dev/null if /usr/bin/tty -s 2>/dev/null
then then
......
...@@ -216,6 +216,10 @@ _foamEtc -config ensight ...@@ -216,6 +216,10 @@ _foamEtc -config ensight
_foamEtc -config CGAL _foamEtc -config CGAL
_foamEtc -config FFTW _foamEtc -config FFTW
if ( -d "$WM_PROJECT_DIR/doc/man1" ) then
_foamAddMan "$WM_PROJECT_DIR/doc"
endif
# Interactive shell # Interactive shell
if ($?prompt) then if ($?prompt) then
_foamEtc -config aliases _foamEtc -config aliases
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment