/[MITgcm]/MITgcm/tools/example_scripts/csail/test_baudelaire
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_baudelaire

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

revision 1.13 by jmc, Sun Aug 26 18:03:10 2012 UTC revision 1.15 by jmc, Fri Dec 14 02:43:04 2012 UTC
# Line 44  tdir=$TESTDIR Line 44  tdir=$TESTDIR
44  if test $checkOut = '0' ; then  if test $checkOut = '0' ; then
45    if test -e $tdir/MITgcm/CVS ; then    if test -e $tdir/MITgcm/CVS ; then
46      echo $tdir/MITgcm/CVS 'exist'      echo $tdir/MITgcm/CVS 'exist'
47      echo -n "Update the MITgcm code using: $cmdCVS ..."      if test $sepDir = 0 ; then
48      cd $tdir/MITgcm        echo -n "Update the MITgcm code using: $cmdCVS ..."
49      if test $sepDir = 1 ; then        cd $tdir/MITgcm
       $cmdCVS update -P -d > /dev/null  
     else  
50        $cmdCVS update -P -d        $cmdCVS update -P -d
51          echo "  done"
52      fi      fi
     echo "  done"  
53    else    else
54      echo -n $tdir/MITgcm 'missing ; '      echo -n $tdir/MITgcm 'missing ; '
55      checkOut=1      checkOut=1
# Line 100  do Line 98  do
98      new_dir="MITgcm_$typ"      new_dir="MITgcm_$typ"
99      if test -d $new_dir/CVS -a $checkOut = '0' ; then      if test -d $new_dir/CVS -a $checkOut = '0' ; then
100        pushd $new_dir        pushd $new_dir
101          if test $tt != $typ ; then
102            ( cd verification ; ../tools/do_tst_2+2 -clean )
103          fi
104        echo -n "Update the MITgcm code using: $cmdCVS ..."        echo -n "Update the MITgcm code using: $cmdCVS ..."
105        $cmdCVS update -P -d        $cmdCVS update -P -d
106        echo "  done"        echo "  done"

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.22