source: CMT/v1r19/src/cleanup.csh @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 614 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
7set newpath=
8
9foreach 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
19end
20
21setenv PATH ${newpath}
22unsetenv CMTCONFIG
23unsetenv CMTROOT
24
Note: See TracBrowser for help on using the repository browser.