fixed non-working system detection string
This commit is contained in:
parent
3d69d9b927
commit
3200a306f6
|
@ -1,7 +1,7 @@
|
||||||
# sets up an environment for DAMASK on bash
|
# sets up an environment for DAMASK on bash
|
||||||
# usage: source DAMASK_env.sh
|
# usage: source DAMASK_env.sh
|
||||||
|
|
||||||
if [ "$OSTYPE" == "linux-gnu" ]
|
if [ "$OSTYPE" == "linux-gnu" ] || [ "$OSTYPE" == 'linux' ]
|
||||||
then LOCATION=$(readlink -f "`dirname $BASH_SOURCE`")
|
then LOCATION=$(readlink -f "`dirname $BASH_SOURCE`")
|
||||||
else
|
else
|
||||||
STAT=$(stat "`dirname $BASH_SOURCE`")
|
STAT=$(stat "`dirname $BASH_SOURCE`")
|
||||||
|
|
Loading…
Reference in New Issue