From 939d49c9c3fdc9f529a2117b60ea98c1fdede613 Mon Sep 17 00:00:00 2001 From: Dominik Christ Date: Tue, 24 Sep 2013 17:20:26 +0100 Subject: [PATCH] Changed commentary output of Allwamke.firstInstall --- Allwmake.firstInstall | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Allwmake.firstInstall b/Allwmake.firstInstall index 846e6a114..d7f5703a4 100755 --- a/Allwmake.firstInstall +++ b/Allwmake.firstInstall @@ -3,9 +3,17 @@ cd ${0%/*} || exit 1 # run from this directory if [ "$PWD" != "$WM_PROJECT_DIR" ] then + echo echo "Error: Current directory is not \$WM_PROJECT_DIR" - echo " The environment variable are not consistent with the installation." - echo " Check the OpenFOAM entries in your dot-files and source them." + echo " The environment variables are not consistent with the installation." + 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 fi