Line | |
---|
1 | #----------------------------------------------------------- |
---|
2 | # Copyright Christian Arnault LAL-Orsay CNRS |
---|
3 | # arnault@lal.in2p3.fr |
---|
4 | # See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
5 | #----------------------------------------------------------- |
---|
6 | |
---|
7 | newpath="" |
---|
8 | for p in `echo ${PATH} | sed 's/:/ /g'`; do |
---|
9 | if test ! "`echo ${p} | egrep CMT`" ; then |
---|
10 | if test "${newpath}" = "" ; then |
---|
11 | newpath=${p} |
---|
12 | else |
---|
13 | newpath=${newpath}:${p} |
---|
14 | fi |
---|
15 | fi |
---|
16 | done |
---|
17 | |
---|
18 | PATH=${newpath}; export PATH |
---|
19 | |
---|
20 | CMTCONFIG=; export CMTCONFIG |
---|
21 | CMTROOT=; export CMTROOT |
---|
Note: See
TracBrowser
for help on using the repository browser.