Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
This commit is contained in:
commit
ba80c8336e
|
@ -3,15 +3,7 @@
|
|||
|
||||
set CALLED=($_)
|
||||
set DIRNAME=`dirname $CALLED[2]`
|
||||
|
||||
# transition compatibility (renamed $DAMASK_ROOT/DAMASK_env.csh to $DAMASK_ROOT/env/DAMASK.csh)
|
||||
set FILENAME=`basename $CALLED[2]`
|
||||
if ($FILENAME == "DAMASK.csh") then
|
||||
set DIRNAME=$DIRNAME"/../"
|
||||
endif
|
||||
|
||||
set DAMASK_ROOT=`python -c "import os,sys; print(os.path.realpath(os.path.expanduser(sys.argv[1])))" $DIRNAME`
|
||||
|
||||
set DAMASK_ROOT=`python -c "import os,sys; print(os.path.realpath(os.path.expanduser(sys.argv[1])))" $DIRNAME"/../"`
|
||||
|
||||
source $DAMASK_ROOT/CONFIG
|
||||
|
||||
|
|
Loading…
Reference in New Issue