/[MITgcm]/mitgcm.org/scripts/process_emails
ViewVC logotype

Diff of /mitgcm.org/scripts/process_emails

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

--- mitgcm.org/scripts/process_emails	2008/02/26 21:36:23	1.2
+++ mitgcm.org/scripts/process_emails	2008/02/27 01:42:56	1.3
@@ -1,6 +1,6 @@
 #! /usr/bin/env bash
 
-# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.2 2008/02/26 21:36:23 jmc Exp $
+# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.3 2008/02/27 01:42:56 jmc Exp $
 
 #cat <<EOF
 #==========================================================
@@ -12,16 +12,16 @@
 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
-cvs -q update -P -d
+bld=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l`
+#echo "bld ='$bld'"
+cat $tmpFil ; /bin/rm -f $tmpFil
 
-bldunp=1
-if test -x $exe ; then bldunp=0
-  if test $exe -ot CVS/Entries ; then bldunp=1 ; fi
-fi
-if test $bldunp = 1 ; then ./configure && make ; fi
+if test ! -x $exe ; then bld=1 ; fi
+if test "x$bld" != x0 ; then ./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