 Parent Directory
|
 Parent Directory
|  Revision Log
|
 Revision Log
|  Revision Graph
|
 Revision Graph
|  Patch
 Patch
--- mitgcm.org/scripts/process_emails 2008/02/27 01:42:56 1.3 +++ mitgcm.org/scripts/process_emails 2008/02/29 01:51:27 1.4 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.3 2008/02/27 01:42:56 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.4 2008/02/29 01:51:27 jmc Exp $ #cat <<EOF #========================================================== @@ -9,19 +9,13 @@ # #EOF -MPACKDIR=/u/u2/jmc/testing/tools_mpack -exe=munpack -unpck=$MPACKDIR/$exe -tmpFil=/tmp/TTT.process_emails.$$ - -#-- update tools/mpack-1.6 dir and build munpack : -cd $MPACKDIR -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 +#-- build munpack if needed: +unpck=/u/u2/jmc/testing/tools_mpack/munpack +if test ! -x $unpck ; then + MPACKDIR=`dirname $unpck` + cd $MPACKDIR + ./configure && make +fi #-- parse emails : cd /u/u2/jmc/testing/front_content && ./parse_emails -u $unpck -v -a jmc@ocean.mit.edu
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |