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

Diff of /MITgcm_contrib/test_scripts/ref_machine/test_villon

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

revision 1.5 by jmc, Thu Oct 11 19:12:07 2018 UTC revision 1.6 by jmc, Wed Nov 7 23:10:02 2018 UTC
# Line 149  if [ $checkOut -ge 2 ] ; then Line 149  if [ $checkOut -ge 2 ] ; then
149         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"
150         exit 3         exit 3
151      fi      fi
152        ( cd $git_code ; git checkout master -- . )
153      echo "Updating current clone ( $git_other ) ..."      echo "Updating current clone ( $git_other ) ..."
154      ( cd $git_other ; git pull )      ( cd $git_other ; git pull )
155      retVal=$?      retVal=$?
# Line 158  if [ $checkOut -ge 2 ] ; then Line 159  if [ $checkOut -ge 2 ] ; then
159         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"         echo "git pull on '"`hostname`"' fail (return val=$retVal) => exit"
160         exit 3         exit 3
161      fi      fi
162      ( cd $git_other ; git checkout master )      ( cd $git_other ; git checkout master -- . )
163    fi    fi
164    #---- making a new working copy: MITgcm_today    #---- making a new working copy: MITgcm_today
   ( cd $git_code ; git checkout master )  
165    rsync -a $git_code/ MITgcm_today --exclude '.git'    rsync -a $git_code/ MITgcm_today --exclude '.git'
166    if test $sepDir = 0 ; then    if test $sepDir = 0 ; then
167      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.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22