Changed commentary output of Allwamke.firstInstall
This commit is contained in:
parent
4988cec79c
commit
939d49c9c3
1 changed files with 10 additions and 2 deletions
|
@ -3,9 +3,17 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
if [ "$PWD" != "$WM_PROJECT_DIR" ]
|
if [ "$PWD" != "$WM_PROJECT_DIR" ]
|
||||||
then
|
then
|
||||||
|
echo
|
||||||
echo "Error: Current directory is not \$WM_PROJECT_DIR"
|
echo "Error: Current directory is not \$WM_PROJECT_DIR"
|
||||||
echo " The environment variable are not consistent with the installation."
|
echo " The environment variables are not consistent with the installation."
|
||||||
echo " Check the OpenFOAM entries in your dot-files and source them."
|
echo " Please source configuration files."
|
||||||
|
echo
|
||||||
|
echo "Examples:"
|
||||||
|
echo " bash: . etc/bashrc"
|
||||||
|
echo " tcsh: source etc/cshrc"
|
||||||
|
echo
|
||||||
|
echo " If you sourced the configuration files, please check the 'foamInstall' entry."
|
||||||
|
echo
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Reference in a new issue