fixed typos and missing include

This commit is contained in:
Martin Diehl 2014-01-24 13:17:54 +00:00
parent a6dac1eceb
commit 554a6ab738
2 changed files with 7 additions and 1 deletions

View File

@ -8,6 +8,12 @@ else
DAMASK_ROOT=${STAT##* }
fi
if [ -f $HOME/.damask/damask.conf ]; then
source $HOME/.damask/damask.conf
else
source /etc/damask.conf
fi
if [ "x$DAMASK_NUM_THREADS" != "x" ]
then export DAMASK_NUM_THREADS=$DAMASK_NUM_THREADS
fi

View File

@ -4,7 +4,7 @@ DEFAULT_VERSION='2013.1'
WORKINGDIR="$( cd "$( dirname "$0" )" && pwd )"
if [ -f $HOME/.damask/damask.conf ] then
if [ -f $HOME/.damask/damask.conf ]; then
source $HOME/.damask/damask.conf
else
source /etc/damask.conf