/[MITgcm]/MITgcm_contrib/test_scripts/ref_machine/test_baudelaire
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/ref_machine/test_baudelaire

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

revision 1.7 by jmc, Thu Oct 11 19:12:07 2018 UTC revision 1.8 by jmc, Wed Nov 7 23:10:02 2018 UTC
# Line 150  if [ $checkOut -ge 2 ] ; then Line 150  if [ $checkOut -ge 2 ] ; then
150         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"
151         exit 3         exit 3
152      fi      fi
153        ( cd $git_code ; git checkout master -- . )
154      echo "Updating current clone ( $git_other ) ..."      echo "Updating current clone ( $git_other ) ..."
155      ( cd $git_other ; git pull )      ( cd $git_other ; git pull )
156      retVal=$?      retVal=$?
# Line 159  if [ $checkOut -ge 2 ] ; then Line 160  if [ $checkOut -ge 2 ] ; then
160         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"
161         exit 3         exit 3
162      fi      fi
163      ( cd $git_other ; git checkout master )      ( cd $git_other ; git checkout master -- . )
164    fi    fi
165    #---- making a new working copy: MITgcm_today    #---- making a new working copy: MITgcm_today
   ( cd $git_code ; git checkout master )  
166    rsync -a $git_code/ MITgcm_today --exclude '.git'    rsync -a $git_code/ MITgcm_today --exclude '.git'
167    if test $sepDir = 0 ; then    if test $sepDir = 0 ; then
168      echo -n " make a local copy of $git_other in MITgcm_today ..."      | tee -a $tdir/output_$tt      echo -n " make a local copy of $git_other in MITgcm_today ..."      | tee -a $tdir/output_$tt

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22