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 9534 for branches/2017/dev_merge_2017/NEMOGCM/SETTE/all_functions.sh – NEMO

Ignore:
Timestamp:
2018-04-30T18:46:26+02:00 (6 years ago)
Author:
mathiot
Message:

correction on the check of .svn repository as since svn v1.7, .svn repository only available in the root of the working copy. Add print of last changed revision. Check revision at the root of the working copy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/all_functions.sh

    r9220 r9534  
    196196# Creation of NEMO_VALIDATION tree 
    197197    export LANG=en_US  
    198     cd ${SETTE_DIR} 
    199     cd ../ 
    200     REVISION_NB=`svn info | grep -i "Last Changed Rev:" | sed -e "s/ //g" | cut -d ":" -f 2` 
     198    REVISION_NB=`svn info ${SETTE_DIR}/../.. | grep -i "Last Changed Rev:" | sed -e "s/ //g" | cut -d ":" -f 2` 
    201199    if [ ${#REVISION_NB} -eq 0 ] 
    202200    then 
Note: See TracChangeset for help on using the changeset viewer.