source:
CMT/v1r10p20011126/src/cleanup.sh
@
1
Last change on this file since 1 was 1, checked in by , 20 years ago | |
---|---|
File size: 312 bytes |
Line | |
---|---|
1 | newpath="" |
2 | for 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 |
10 | done |
11 | |
12 | PATH=${newpath}; export PATH |
13 | |
14 | CMTCONFIG=; export CMTCONFIG |
15 | CMTROOT=; export CMTROOT |
Note: See TracBrowser
for help on using the repository browser.