2 cd ${0%/*} ||
exit 1 # run from this directory
5 if [ -d "$PARAVIEW_DIR" -a -r "$PARAVIEW_DIR" ]
7 case "$PARAVIEW_VERSION" in
12 mkdir
-p Make
/$WM_OPTIONS > /dev
/null
2>&1
15 if [ "$WM_ARCH_BASE" == "darwin" ]
17 sed -i bak
-e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles
/PV3FoamReader.dir
/link.txt
18 sed -i bak
-e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles
/PV3FoamReader_SM.dir
/link.txt
26 # ----------------------------------------------------------------- end-of-file