Changeset 2315


Ignore:
Timestamp:
08/06/14 15:17:54 (10 years ago)
Author:
sdipsl
Message:

Stack was corrupted. Fix needed for bigbrother

Location:
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/lmdz.driver

    r2302 r2315  
    4141# Usage : LMDZ_sed_xml xml_file output_file attribute value  
    4242#         In file xml_file modify at the line containing id="output_file" the attribute "attribute=xxx" into "attribute=value" 
    43      
     43 
     44    IGCM_debug_PushStack "LMDZ_sed_xml" 
    4445    # Test if the fichier exist 
    4546    if [ ! -f ${1} ] ; then 
    46         echo "WARNING : ${1} file does not exist. Following will not be done : LMDZ_sed : ${1} ${2} ${3} ${4}" 
    47         IGCM_debug_PopStack "LMDZ_sed" 
    48         return 
     47      echo "WARNING : ${1} file does not exist. Following will not be done : LMDZ_sed : ${1} ${2} ${3} ${4}" 
     48      IGCM_debug_PopStack "LMDZ_sed_xml" 
     49      return 
    4950    fi 
    5051    sed -e "/id=\"${2}\"/s/\(${3}=\"\)[^\"]*\(\"\)/\1${4}\2/" ${1} > ${1}.tmp 
     
    5253    echo "LMDZ_sed : ${1} ${2} ${3} ${4}" 
    5354    \mv ${1}.tmp ${1} 
    54  
     55    IGCM_debug_PopStack "LMDZ_sed_xml" 
    5556    return $RET 
    5657} 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/xios.driver

    r2300 r2315  
    55# Usage : XIOS_sed_xml xml_file attribute value  
    66#         In file xml_file modify at the line containing id="attribute" the attribute value ">value<"  
    7      
     7    IGCM_debug_PushStack "XIOS_sed_xml" 
    88    # Test if the fichier exist 
    99    if [ ! -f ${1} ] ; then 
     
    1616    echo "XIOS_sed_xml" : ${1} ${2} ${3} 
    1717    \mv ${1}.tmp ${1} 
    18  
     18    IGCM_debug_PopStack "XIOS_sed_xml" 
    1919    return $RET 
    2020} 
Note: See TracChangeset for help on using the changeset viewer.