Changeset 8217


Ignore:
Timestamp:
2017-06-26T16:26:21+02:00 (3 months ago)
Author:
Tomas Lovato
Message:

3.6 stable: bugfix for ticket #1724

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/nemo_v3_6_STABLE/NEMOGCM/TOOLS/COMPILE/Fdel_keys.sh

    r4990 r8217  
    6767                echo " " 
    6868        elif [ "$(cat ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm | grep -c "$i" )" -ne 0 ] ; then 
    69                 sed -e "s/${i}//"  ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm >  ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm.tmp 
     69                sed -e "s/ ${i}[ ,$]/ /"  ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm >  ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm.tmp 
    7070                mv ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm.tmp   ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm 
    7171                echo "deleted key $i in ${NEW_CONF}" 
Note: See TracChangeset for help on using the changeset viewer.