Allwmake: Provides clearer message when OpenFOAM environment is not loaded
Patch contributed by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2424
This commit is contained in:
@ -2,8 +2,9 @@
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Parse arguments for library compilation
|
||||
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
||||
. ../wmake/scripts/AllwmakeParseArguments
|
||||
|
||||
# Perform various checks
|
||||
wmakeCheckPwd "$WM_PROJECT_DIR/applications" || {
|
||||
echo "Allwmake error: Current directory is not \$WM_PROJECT_DIR/applications"
|
||||
echo " The environment variables are inconsistent with the installation."
|
||||
|
||||
Reference in New Issue
Block a user