source: CMT/v1r19p20061115/src/cleanup.csh

Last change on this file was 11, checked in by arnault, 19 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
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.