Ignore:
Timestamp:
05/11/16 17:34:22 (8 years ago)
Author:
aclsce
Message:
  • Added config.card LongName? as global attribute of output files of v6 configurations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZORINCA_v6/GENERAL/DRIVER/orchidee.driver

    r2770 r2833  
    108108    rm iodef.xml.tmp add.tmp 
    109109 
     110    #Long Name as global attribute (if LongName is not empty) 
     111        if [ ! "X${config_UserChoices_LongName}" = "X" ] ; then 
     112            listfile=$(ls file_def*orchidee.xml) 
     113            echo "<variable id=\"LongName\" type=\"string\">${config_UserChoices_LongName}</variable>" > add.tmp 
     114            for file in ${listfile} 
     115            do 
     116                cp ${file} ${file}.tmp 
     117                sed -e "/<file id/r add.tmp" \ 
     118                    ${file}.tmp > ${file} 
     119                rm ${file}.tmp  
     120            done  
     121            rm add.tmp 
     122        fi 
     123 
    110124    IGCM_debug_PopStack "SRF_Update" 
    111125} 
Note: See TracChangeset for help on using the changeset viewer.