--- mitgcm.org/front_content/parse_emails 2006/10/06 19:49:59 1.6 +++ mitgcm.org/front_content/parse_emails 2007/11/30 00:45:55 1.9 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/parse_emails,v 1.6 2006/10/06 19:49:59 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/parse_emails,v 1.9 2007/11/30 00:45:55 jmc Exp $ # # The purpose of this script is to parse the emails produced by the # MITgcm/verificaton/testreport script and store the data in a @@ -28,7 +28,7 @@ INDIR="/u/edhill/Mail/MITgcm-test" OUTDIR= TEMPDIR=./ptmp -MUNPACK=/usr/local/bin/munpack +MUNPACK=/u/edhill/local/bin/munpack # Parse options ac_prev= @@ -83,6 +83,8 @@ echo "ERROR: directory \"$OUTDIR\" doesn't exist and can't be created" exit 1 fi + chgrp gcmpack $OUTDIR + chmod 775 $OUTDIR fi echo "Using OUTDIR=\"$OUTDIR\"" @@ -129,11 +131,11 @@ done mv $TEMPDIR"/"$tdir $OUTDIR"/"$tdir"_"$ad > /dev/null 2>&1 chmod -R a+rx $OUTDIR"/"$tdir"_"$ad > /dev/null 2>&1 - gzip $OUTDIR"/"$tdir"_"$ad"/output.txt" +# gzip $OUTDIR"/"$tdir"_"$ad"/output.txt" else mv $TEMPDIR"/"$tdir $OUTDIR > /dev/null 2>&1 chmod -R a+rx $OUTDIR"/"$tdir > /dev/null 2>&1 - gzip $OUTDIR"/"$tdir"/output.txt" +# gzip $OUTDIR"/"$tdir"/output.txt" fi # remove the original file