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

Diff of /mitgcm.org/scripts/daily_update

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

revision 1.5 by jmc, Mon Jan 29 20:36:59 2018 UTC revision 1.6 by jmc, Thu Dec 27 16:19:18 2018 UTC
# Line 23  if test -d ref_machine ; then Line 23  if test -d ref_machine ; then
23  fi  fi
24    
25  #-- update tools/mpack-1.6 dir:  #-- update tools/mpack-1.6 dir:
26  if test -d tools_mpack ; then  # if test -d tools_mpack ; then
27   echo -n 'Update dir: '  #  echo -n 'Update dir: '
28   tmpFil=/tmp/TTT.daily_snapshot.$$  #  tmpFil=/tmp/TTT.daily_snapshot.$$
29   exe=munpack  #  exe=munpack
30   ( cd tools_mpack ; pwd  #  ( cd tools_mpack ; pwd
31     chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l`  #    chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l`
32    #echo "chg ='$chg'"  #   #echo "chg ='$chg'"
33     cat $tmpFil ; rm -f $tmpFil  #    cat $tmpFil ; rm -f $tmpFil
34     if test "x$chg" != x0 ; then  #    if test "x$chg" != x0 ; then
35       if test -f $exe ; then echo " removing: $exe force re-build." ; fi  #      if test -f $exe ; then echo " removing: $exe force re-build." ; fi
36       rm -f $exe  #      rm -f $exe
37     fi  #    fi
38   )  #  )
39  fi  # fi
40    
41  #- update front-page building dir:  #- update front-page building dir:
42  if test -d front_content ; then  if test -d front_content ; then

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22