12 |
MPACKDIR=/u/u2/jmc/testing/tools_mpack |
MPACKDIR=/u/u2/jmc/testing/tools_mpack |
13 |
exe=munpack |
exe=munpack |
14 |
unpck=$MPACKDIR/$exe |
unpck=$MPACKDIR/$exe |
15 |
|
tmpFil=/tmp/TTT.process_emails.$$ |
16 |
|
|
17 |
#-- update tools/mpack-1.6 dir and build munpack : |
#-- update tools/mpack-1.6 dir and build munpack : |
18 |
cd $MPACKDIR |
cd $MPACKDIR |
19 |
cvs -q update -P -d |
bld=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` |
20 |
|
#echo "bld ='$bld'" |
21 |
|
cat $tmpFil ; /bin/rm -f $tmpFil |
22 |
|
|
23 |
bldunp=1 |
if test ! -x $exe ; then bld=1 ; fi |
24 |
if test -x $exe ; then bldunp=0 |
if test "x$bld" != x0 ; then ./configure && make ; fi |
|
if test $exe -ot CVS/Entries ; then bldunp=1 ; fi |
|
|
fi |
|
|
if test $bldunp = 1 ; then ./configure && make ; fi |
|
25 |
|
|
26 |
#-- parse emails : |
#-- parse emails : |
27 |
cd /u/u2/jmc/testing/front_content && ./parse_emails -u $unpck -v -a jmc@ocean.mit.edu |
cd /u/u2/jmc/testing/front_content && ./parse_emails -u $unpck -v -a jmc@ocean.mit.edu |