/[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.4 by jmc, Mon Jan 8 23:51:57 2018 UTC revision 1.6 by jmc, Thu Dec 27 16:19:18 2018 UTC
# Line 16  if test -d scripts ; then Line 16  if test -d scripts ; then
16   ( cd scripts && pwd && cvs -q update -P -d )   ( cd scripts && pwd && cvs -q update -P -d )
17  fi  fi
18    
19  #- update csail testing scripts:  #- update ref_machine testing scripts:
20  if test -d csail ; then  if test -d ref_machine ; then
21   echo -n 'Update dir: '   echo -n 'Update dir: '
22   ( cd csail && pwd && cvs -q update -P -d )   ( cd ref_machine && pwd && cvs -q update -P -d )
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.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22