openfoam/applications/Allwmake
Mark Olesen bdbdd25bac Allwmake and {applications,src}/Allwmake use wmake/wmakeCheckPwd
- solves problems that can occur when checking $PWD and links are involved
2009-08-07 20:24:11 +02:00

17 lines
483 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
echo "Error: Current directory is not \$WM_PROJECT_DIR/applications"
echo " The environment variables are inconsistent with the installation."
echo " Check the OpenFOAM entries in your dot-files and source them."
exit 1
}
set -x
wmake all solvers
wmake all utilities
# ----------------------------------------------------------------- end-of-file