9 |
# |
# |
10 |
#EOF |
#EOF |
11 |
|
|
12 |
MPACKDIR=/u/u2/jmc/testing/tools_mpack |
#-- build munpack if needed: |
13 |
exe=munpack |
unpck=/u/u2/jmc/testing/tools_mpack/munpack |
14 |
unpck=$MPACKDIR/$exe |
if test ! -x $unpck ; then |
15 |
tmpFil=/tmp/TTT.process_emails.$$ |
MPACKDIR=`dirname $unpck` |
16 |
|
cd $MPACKDIR |
17 |
#-- update tools/mpack-1.6 dir and build munpack : |
./configure && make |
18 |
cd $MPACKDIR |
fi |
|
bld=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` |
|
|
#echo "bld ='$bld'" |
|
|
cat $tmpFil ; /bin/rm -f $tmpFil |
|
|
|
|
|
if test ! -x $exe ; then bld=1 ; fi |
|
|
if test "x$bld" != x0 ; then ./configure && make ; fi |
|
19 |
|
|
20 |
#-- parse emails : |
#-- parse emails : |
21 |
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 |