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

Changeset 12430


Ignore:
Timestamp:
2020-02-21T11:08:32+01:00 (4 years ago)
Author:
mathiot
Message:

add option to select compiler in sette_list_avail_rev.sh

File:
1 edited

Legend:

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

    r12289 r12430  
    11#!/bin/bash -f 
    22# set -vx 
     3 
     4SETTE_DIR=$(cd $(dirname "$0"); pwd) 
     5MAIN_DIR=$(dirname $SETTE_DIR) 
     6 
     7. ./param.cfg 
     8 
     9if [ $# -gt 0 ]; then 
     10  while getopts c:h option; do  
     11     case $option in 
     12        c) COMPILER=$OPTARG;; 
     13        h | *) echo '' 
     14               echo 'sette_list_avail_rev.sh : '  
     15               echo '     list all sette directory and available revisions created with the compiler specified in param.cfg or in the startup file)' 
     16               echo '-c COMPILER_name :' 
     17               echo '     list all sette directory and available revisions created with the compiler specified' 
     18               echo '' 
     19               exit 42;; 
     20     esac 
     21  done 
     22  shift $((OPTIND - 1)) 
     23fi 
     24 
    325# 
    426lst_rev () { 
     
    3557} 
    3658 
    37   SETTE_DIR=$(cd $(dirname "$0"); pwd) 
    38   MAIN_DIR=$(dirname $SETTE_DIR) 
    39   . ./param.cfg 
    4059 
    4160  NEMO_VALID=${NEMO_VALIDATION_DIR}/ 
Note: See TracChangeset for help on using the changeset viewer.