/[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	2011/03/10 16:53:43	1.6
+++ mitgcm.org/scripts/process_emails	2018/01/05 20:08:54	1.7
@@ -1,6 +1,6 @@
 #! /usr/bin/env bash
 
-# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.6 2011/03/10 16:53:43 jmc Exp $
+# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/process_emails,v 1.7 2018/01/05 20:08:54 jmc Exp $
 
 #cat <<EOF
 #==========================================================
@@ -27,12 +27,13 @@
   echo -n '-- in dir: ' ; pwd
   n=$(( `ls ${logpfx}* | wc -l` - 10 ))
   if test $n -gt 0 ; then
-  echo -n ' remove files: ' 
+  echo -n ' remove files: '
     ls -lt ${logpfx}* | tail -"$n"
     ls -t  ${logpfx}* | tail -"$n" | xargs rm -f
   fi
   echo ' create new log file:' $logfile
   touch $logfile
+  chmod 664 $logfile
 fi
 
 #-- parse emails :

 

  ViewVC Help
Powered by ViewVC 1.1.22