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 12561 for utils/CI/sette_ticket2304/sette_rpt.sh – NEMO

Ignore:
Timestamp:
2020-03-17T11:23:35+01:00 (5 years ago)
Author:
mathiot
Message:

ticket #2304: add LC_MESSAGES definition in param (only en_US supported)

File:
1 edited

Legend:

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

    r12444 r12561  
    420420  NEMO_VALID=${NEMO_VALIDATION_DIR} 
    421421  NEMO_VALID_REF=${NEMO_VALIDATION_REF} 
    422   LANG=en_US 
    423422# 
    424423  if [ ! -d $NEMO_VALID ]; then 
     
    431430# 
    432431echo "" 
    433 lastchange=`LC_MESSAGES=${LANG} ${SVN_CMD} info ${MAIN_DIR} | grep 'Last Changed Rev' | awk '{print $NF}'` 
    434 revision=`LC_MESSAGES=${LANG} ${SVN_CMD} info ${MAIN_DIR} | grep 'Revision' | awk '{print $NF}'` 
    435 branchname=`LC_MESSAGES=${LANG} ${SVN_CMD} info ${MAIN_DIR} | grep ^URL | awk -F ipsl/forge/projets/nemo/svn/ '{print $NF}'` 
     432lastchange=`${SVN_CMD} info ${MAIN_DIR} | grep 'Last Changed Rev' | awk '{print $NF}'` 
     433revision=`${SVN_CMD} info ${MAIN_DIR} | grep 'Revision' | awk '{print $NF}'` 
     434branchname=`${SVN_CMD} info ${MAIN_DIR} | grep ^URL | awk -F ipsl/forge/projets/nemo/svn/ '{print $NF}'` 
    436435echo "Current code is : $branchname @ r$revision  ( last change @ r$lastchange )" 
    437436[ `${SVN_CMD} status -q ${MAIN_DIR}/{cfg,tests,src} | wc -l` -ge 1 ] && lastchange=${lastchange}+ 
Note: See TracChangeset for help on using the changeset viewer.