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 12237 – NEMO

Changeset 12237


Ignore:
Timestamp:
2019-12-13T10:21:07+01:00 (4 years ago)
Author:
mathiot
Message:

fix issue in sette_list_avail_rev in case multiple compiler sette results #2304

File:
1 edited

Legend:

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

    r11161 r12237  
    2424       rev=`echo $ALLLST | cut -d\  -f ${irev}` 
    2525       cfgrev=`echo $CFGLST | cut -d\  -f ${irevcfg}` 
     26       if [ -z $cfgrev ] ; then cfgrev=-9999 ; fi 
    2627       if [ $cfgrev == $rev ] ; then 
    2728          printf "%-6s  " $rev 
     
    3940 
    4041  mach=${COMPILER} 
    41   NEMO_VALID=${NEMO_VALIDATION_DIR} 
     42  NEMO_VALID=${NEMO_VALIDATION_DIR}/ 
    4243  
    4344 # list of all revision available 
    44  DIRLST=`find ${NEMO_VALID} -maxdepth 3 -mindepth 3 -type d | sed -e 's/.*\/W.*\///' | sort -u -r` 
     45 DIRLST=`find ${NEMO_VALID} -maxdepth 3 -mindepth 3 -type d -regex ".*\/W.*\/${COMPILER}\/.*" | sed -e "s/.*\/W.*\/${COMPILER}\///" | sort -u -r` 
    4546 
    4647 # display header 
Note: See TracChangeset for help on using the changeset viewer.