New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12444 for utils/CI/sette_ticket2304/sette_rpt.sh – NEMO

Ignore:
Timestamp:
2020-02-24T15:14:49+01:00 (4 years ago)
Author:
mathiot
Message:

Corrections after Simon review: add AGRIF context file in the synchronisation, update sette_rpt.sh to keep old and new usage available, update sette comments and issue with old set as revision in get_dorv (ticket #2304)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2304/sette_rpt.sh

    r12431 r12444  
    1515    dorv=`ls -1rt $vdir/$nam/$mach/ | tail -1l ` 
    1616    dorv=`echo $dorv | sed -e 's:.*/::'` 
    17     dorv2=`ls -1rt $vdir/$nam2/$mach/ | tail -1l ` 
     17    dorv2=`ls -1rt $vdir/$nam2/$mach/ 2>/dev/null | tail -1l ` 
    1818    dorv2=`echo $dorv2 | sed -e 's:.*/::'` 
    1919  else 
     
    442442       case $option in 
    443443          c) mach=$OPTARG;; 
    444           r) lastchange=$OPTARG;; 
     444          r) rev=$OPTARG;; 
    445445          h | *) echo '' 
    446446                 echo 'sette_rpt.sh : '  
     
    456456    shift $((OPTIND - 1)) 
    457457fi 
     458 
     459# if $1 (remaining arguments) 
     460if [[ ! -z $1 ]] ; then rev=$1 ; fi 
     461 
     462# by default use the current lastchanged revision 
     463lastchange=${rev:-$lastchange} 
    458464 
    459465echo "" 
Note: See TracChangeset for help on using the changeset viewer.