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

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

Import all tags

File size: 582 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
7newpath=""
8for p in `echo ${PATH} | sed 's/:/ /g'`; do
9 if test ! "`echo ${p} | egrep CMT`" ; then
10 if test "${newpath}" = "" ; then
11 newpath=${p}
12 else
13 newpath=${newpath}:${p}
14 fi
15 fi
16done
17
18PATH=${newpath}; export PATH
19
20CMTCONFIG=; export CMTCONFIG
21CMTROOT=; export CMTROOT
Note: See TracBrowser for help on using the repository browser.