From 2b15468f0f8b745f3ba18cf83840d8ce2a7b51ce Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 2 Jul 2018 19:53:26 +0200 Subject: [PATCH] transition compatibility not needed any more --- env/DAMASK.csh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/env/DAMASK.csh b/env/DAMASK.csh index d5bfb4437..26e2dd8a2 100644 --- a/env/DAMASK.csh +++ b/env/DAMASK.csh @@ -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