Last change
on this file since 654 was
11,
checked in by arnault, 20 years ago
|
Changing eol-style property
|
-
Property svn:eol-style set to
native
|
File size:
590 bytes
|
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 | set newpath= |
---|
8 | |
---|
9 | foreach p ( `echo ${PATH} | sed 's#:# #g'` ) |
---|
10 | echo ${p} | egrep '/CMT/' >& /dev/null |
---|
11 | set s=${status} |
---|
12 | if ( "${s}" != 0 ) then |
---|
13 | if ( ${newpath} == "" ) then |
---|
14 | set newpath=${p} |
---|
15 | else |
---|
16 | set newpath=${newpath}:${p} |
---|
17 | endif |
---|
18 | endif |
---|
19 | end |
---|
20 | |
---|
21 | setenv PATH ${newpath} |
---|
22 | unsetenv CMTCONFIG |
---|
23 | unsetenv CMTROOT |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.