source: CMT/v1r10p20011126/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: 346 bytes
Line 
1
2set newpath=
3
4foreach p ( `echo ${PATH} | sed 's#:# #g'` )
5  echo ${p} | egrep '/CMT/' >& /dev/null
6  set s=${status}
7  if ( "${s}" != 0 ) then
8    if ( ${newpath} == "" ) then
9      set newpath=${p}
10    else
11      set newpath=${newpath}:${p}
12    endif
13  endif
14end
15
16setenv PATH ${newpath}
17unsetenv CMTCONFIG
18unsetenv CMTROOT
19
Note: See TracBrowser for help on using the repository browser.