/[MITgcm]/mitgcm.org/front_content/parse_emails
ViewVC logotype

Diff of /mitgcm.org/front_content/parse_emails

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

revision 1.1 by edhill, Sat Dec 6 20:06:58 2003 UTC revision 1.2 by edhill, Sun Dec 7 06:52:17 2003 UTC
# Line 94  echo -n "Unpacking the emails ..." Line 94  echo -n "Unpacking the emails ..."
94  for file in $all_files ; do  for file in $all_files ; do
95    
96      #  create local copy      #  create local copy
97      rm -rf $TEMPDIR      test -e $TEMPDIR  &&  rm -rf $TEMPDIR
98      mkdir $TEMPDIR      mkdir $TEMPDIR
99      cp $INDIR"/"$file $TEMPDIR      cp $INDIR"/"$file $TEMPDIR
100    
# Line 118  for file in $all_files ; do Line 118  for file in $all_files ; do
118      if test "x$RETVAL" != x0 ; then      if test "x$RETVAL" != x0 ; then
119          continue          continue
120      fi      fi
121      tdir=`cat $TEMPDIR"/out" | head -1 | cut -d '/' -f 1`      tdir=`cat $TEMPDIR"/out" | head -1 | sed -e 's|^./||g' | cut -d '/' -f 1`
122      rm -f $TEMPDIR"/out"      rm -f $TEMPDIR"/out"
123    
124      #  copy to $OUTDIR and rename if necessary      #  copy to $OUTDIR and rename if necessary

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22