source: CMT/v1r14p20031120/src/cleanup.sh @ 1

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

Import all tags

File size: 312 bytes
Line 
1newpath=""
2for p in `echo ${PATH} | sed 's/:/ /g'`; do
3  if test ! "`echo ${p} | egrep CMT`" ; then
4    if test "${newpath}" = "" ; then
5      newpath=${p}
6    else
7      newpath=${newpath}:${p}
8    fi
9  fi
10done
11
12PATH=${newpath}; export PATH
13
14CMTCONFIG=; export CMTCONFIG
15CMTROOT=; export CMTROOT
Note: See TracBrowser for help on using the repository browser.