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 8281 for trunk – NEMO

Changeset 8281 for trunk


Ignore:
Timestamp:
2017-07-05T15:45:58+02:00 (7 years ago)
Author:
clem
Message:

solve issues with adding/deleting keys for all the keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/TOOLS/COMPILE/Fadd_keys.sh

    r7646 r8281  
    6565 echo "Adding keys in : ${NEW_CONF}"  
    6666 for i in ${list_add_key} ; do 
    67    if [ "$(cat ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm | grep -c "$i" )" -ne 0 ] ; then 
     67   if [ "$(cat ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm | grep -c "\<$i\>" )" -ne 0 ] ; then 
    6868      echo "key $i already present in cpp_${NEW_CONF}.fcm"  
    6969   else 
Note: See TracChangeset for help on using the changeset viewer.