Last change
on this file since 662 was
11,
checked in by arnault, 20 years ago
|
Changing eol-style property
|
-
Property svn:eol-style set to
native
-
Property svn:ignore set to
setup.*
|
File size:
1.1 KB
|
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 | CMTBIN=`uname`-`uname -m | sed -e 's# ##g'`; export CMTBIN |
---|
8 | |
---|
9 | if test "${CMTCONFIG}" = "" ; then |
---|
10 | CMTCONFIG=`${CMTROOT}/mgr/cmt_system.sh`; export CMTCONFIG |
---|
11 | fi |
---|
12 | |
---|
13 | |
---|
14 | eval function b {} 1>/dev/null 2>&1 |
---|
15 | if test "$?" = "0"; then |
---|
16 | . ${CMTROOT}/src/setup.zsh |
---|
17 | fi |
---|
18 | |
---|
19 | newpath="" |
---|
20 | for p in `echo ${PATH} | sed 's/:/ /g'`; do |
---|
21 | if test ! "`echo ${p} | egrep CMT`" ; then |
---|
22 | if test "${newpath}" = "" ; then |
---|
23 | newpath=${p} |
---|
24 | else |
---|
25 | newpath=${newpath}:${p} |
---|
26 | fi |
---|
27 | fi |
---|
28 | done |
---|
29 | |
---|
30 | PATH=${newpath}:${CMTROOT}/${CMTBIN}; export PATH |
---|
31 | alias cmt='${CMTROOT}/${CMTBIN}/cmt.exe'; export cmt |
---|
32 | |
---|
33 | newpath="" |
---|
34 | for p in `echo ${CLASSPATH} | sed 's/:/ /g'`; do |
---|
35 | if test ! "`echo ${p} | egrep CMT`" ; then |
---|
36 | if test "${newpath}" = "" ; then |
---|
37 | newpath=${p} |
---|
38 | else |
---|
39 | newpath=${newpath}:${p} |
---|
40 | fi |
---|
41 | fi |
---|
42 | done |
---|
43 | |
---|
44 | CLASSPATH=${newpath}:${CMTROOT}/java/cmt.jar; export CLASSPATH |
---|
45 | |
---|
46 | alias jcmt='(java cmt_parser)'; export jcmt |
---|
Note: See
TracBrowser
for help on using the repository browser.