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 3294 for trunk/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh – NEMO

Ignore:
Timestamp:
2012-01-28T17:44:18+01:00 (12 years ago)
Author:
rblod
Message:

Merge of 3.4beta into the trunk

File:
1 edited

Legend:

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

    r2520 r3294  
    6969   fi 
    7070else 
    71    ln -sf ${MAIN_DIR}/ARCH/arch-${2}.fcm ${COMPIL_DIR}/$1 
     71   myfile=$( find ${MAIN_DIR}/ARCH -name arch-${2}.fcm -print ) 
     72   if [ ${#myfile} -gt 0 ]; then 
     73      ln -sf  ${myfile} ${COMPIL_DIR}/$1 
     74   else 
     75      echo "Warning !!!" 
     76      echo "Compiler not existing" 
     77      echo "Try makenemo -h for help" 
     78      echo "EXITING..." 
     79      exit 1        
     80   fi    
    7281fi 
Note: See TracChangeset for help on using the changeset viewer.