--- mitgcm.org/scripts/daily_update 2018/01/29 20:36:59 1.5 +++ mitgcm.org/scripts/daily_update 2018/12/27 16:19:18 1.6 @@ -1,6 +1,6 @@ #! /usr/bin/env bash -# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/daily_update,v 1.5 2018/01/29 20:36:59 jmc Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/daily_update,v 1.6 2018/12/27 16:19:18 jmc Exp $ # Run in: ~/testing/ to update several dir. which are used for: # - front_page building @@ -23,20 +23,20 @@ fi #-- update tools/mpack-1.6 dir: -if test -d tools_mpack ; then - echo -n 'Update dir: ' - tmpFil=/tmp/TTT.daily_snapshot.$$ - exe=munpack - ( cd tools_mpack ; pwd - chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` - #echo "chg ='$chg'" - cat $tmpFil ; rm -f $tmpFil - if test "x$chg" != x0 ; then - if test -f $exe ; then echo " removing: $exe force re-build." ; fi - rm -f $exe - fi - ) -fi +# if test -d tools_mpack ; then +# echo -n 'Update dir: ' +# tmpFil=/tmp/TTT.daily_snapshot.$$ +# exe=munpack +# ( cd tools_mpack ; pwd +# chg=`cvs -q update -P -d | tee $tmpFil | sed '/^?/d' | wc -l` +# #echo "chg ='$chg'" +# cat $tmpFil ; rm -f $tmpFil +# if test "x$chg" != x0 ; then +# if test -f $exe ; then echo " removing: $exe force re-build." ; fi +# rm -f $exe +# fi +# ) +# fi #- update front-page building dir: if test -d front_content ; then