| 22 | 
 echo '' >> $logfile | 
 echo '' >> $logfile | 
| 23 | 
 date >> $logfile | 
 date >> $logfile | 
| 24 | 
 cat >> $logfile <<EOF | 
 cat >> $logfile <<EOF | 
| 25 | 
 ========================================================== | 
 ================================================================== | 
| 26 | 
 Building the mitgcm.org front pages: | 
 Building the mitgcm.org front pages on: `hostname` as: $USER | 
| 27 | 
 ========================================================== | 
 ================================================================== | 
| 28 | 
 EOF | 
 EOF | 
| 29 | 
 #export CVSROOT='/u/gcmpack' | 
 #export CVSROOT='/u/gcmpack' | 
| 30 | 
 #cd $HOME/testing/front_content && cvs -q update -P -d | 
 #cd $HOME/testing/front_content && cvs -q update -P -d | 
| 31 | 
 #----------- | 
 #----------- | 
| 32 | 
  | 
 echo "run 'make install' in ~testing/front_content/ :" >> $logfile | 
| 33 | 
 cd $HOME/testing/front_content && make install >> $logfile 2>&1 | 
 cd $HOME/testing/front_content && make install >> $logfile 2>&1 | 
| 34 | 
 retval=$? | 
 retval=$? | 
| 35 | 
 if test "x$retval" != x0 ; then | 
 if test "x$retval" != x0 ; then |