fixed non-working system detection string

This commit is contained in:
Martin Diehl 2014-01-13 16:04:38 +00:00
parent 3d69d9b927
commit 3200a306f6
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# sets up an environment for DAMASK on bash
# usage: source DAMASK_env.sh
if [ "$OSTYPE" == "linux-gnu" ]
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == 'linux' ]
then LOCATION=$(readlink -f "`dirname $BASH_SOURCE`")
else
STAT=$(stat "`dirname $BASH_SOURCE`")