/[MITgcm]/MITgcm_contrib/test_scripts/svante/test_submit_svante
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/svante/test_submit_svante

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

revision 1.18 by jmc, Wed Feb 7 21:13:57 2018 UTC revision 1.19 by jmc, Fri Feb 9 17:22:14 2018 UTC
# Line 104  if [ $checkOut -ge 1 ] ; then Line 104  if [ $checkOut -ge 1 ] ; then
104    
105    if [ $checkOut -eq 1 ] ; then    if [ $checkOut -eq 1 ] ; then
106      if test -e $git_code/.git/config ; then      if test -e $git_code/.git/config ; then
107          ( cd $git_code ; git checkout master )                    | tee -a $LOG_FIL
108        echo -n "Updating current clone ( $git_code ) ..."        | tee -a $LOG_FIL        echo -n "Updating current clone ( $git_code ) ..."        | tee -a $LOG_FIL
109        echo '' >> $LOG_FIL        echo '' >> $LOG_FIL
110        ( cd $git_code ; git pull )                               >> $LOG_FIL 2>&1        ( cd $git_code ; git pull )                               >> $LOG_FIL 2>&1
# Line 132  if [ $checkOut -ge 1 ] ; then Line 133  if [ $checkOut -ge 1 ] ; then
133      fi      fi
134    fi    fi
135    #---- making a new working copy: MITgcm_today    #---- making a new working copy: MITgcm_today
   ( cd $git_code ; git checkout master )  
136    rsync -a $git_code/ $srcCode --exclude '.git'    rsync -a $git_code/ $srcCode --exclude '.git'
137      ls -ld $srcCode                                       | tee -a $LOG_FIL
138    if test -d $srcCode/verification ; then    if test -d $srcCode/verification ; then
139      for exp2add in $addExp ; do      for exp2add in $addExp ; do
140        echo " add dir: $exp2add (from Contrib:verification_other)" | tee -a $LOG_FIL        echo " add dir: $exp2add (from Contrib:verification_other)" | tee -a $LOG_FIL
# Line 147  if [ $checkOut -ge 1 ] ; then Line 148  if [ $checkOut -ge 1 ] ; then
148    if test -d $srcCode/verification ; then    if test -d $srcCode/verification ; then
149      echo $today > $updFile ; sleep 2      echo $today > $updFile ; sleep 2
150      ls -l $updFile                                      | tee -a $LOG_FIL      ls -l $updFile                                      | tee -a $LOG_FIL
151        echo ''                                             | tee -a $LOG_FIL
152    fi    fi
153    
154  #---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|  #---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.22