1 |
#! /usr/bin/env bash |
2 |
|
3 |
# $Header: /u/gcmpack/mitgcm.org/scripts/process_emails,v 1.1 2008/02/16 18:40:03 jmc Exp $ |
4 |
|
5 |
#cat <<EOF |
6 |
#========================================================== |
7 |
#Parsing MITgcm testing emails : |
8 |
#========================================================== |
9 |
# |
10 |
#EOF |
11 |
|
12 |
MPACKDIR=/u/u2/jmc/testing/tools_mpack |
13 |
exe=munpack |
14 |
unpck=$MPACKDIR/$exe |
15 |
|
16 |
#-- update tools/mpack-1.6 dir and build munpack : |
17 |
cd $MPACKDIR |
18 |
cvs -q update -P -d |
19 |
|
20 |
bldunp=1 |
21 |
if test -x $exe ; then bldunp=0 |
22 |
if test $exe -ot CVS/Entries ; then bldunp=1 ; fi |
23 |
fi |
24 |
if test $bldunp = 1 ; then ./configure && make ; fi |
25 |
|
26 |
#-- parse emails : |
27 |
cd /u/u2/jmc/testing/front_content && ./parse_emails -u $unpck -v -a jmc@ocean.mit.edu |