Changeset 2158 for branches/DEV_r1879_FCM/NEMOGCM/TOOLS/maketools
- Timestamp:
- 2010-10-05T15:30:03+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DEV_r1879_FCM/NEMOGCM/TOOLS/maketools
r2143 r2158 145 145 . ${COMPIL_DIR}/Fcheck_archfile.sh arch_tools.fcm ${CMP_NAM} || exit 146 146 147 #- Mak the building directory 147 #- Choose a default tool if needed --- 148 #- REBUILD or last one used --- 149 . ${COMPIL_DIR}/Fcheck_config.sh tools.txt ${NEW_CONF} || exit 150 151 #- Save new configuration --- 152 echo "${NEW_CONF} " > ${COMPIL_DIR}/tools.txt 153 154 #- Make the building directory 148 155 . ${COMPIL_DIR}/Fmake_bld.sh ${TOOLS_DIR} ${NEW_CONF} ${NEMO_TDIR} || exit 149 156 … … 159 166 160 167 fcm build ${x_c} --ignore-lock -v 1 -j ${NBR_PRC} ${COMPIL_DIR}/bld_tools.cfg || cd - 168 if [ -f ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/*.exe ]; then 161 169 for i in `ls ${NEMO_TDIR}/${NEW_CONF}/BLD/bin/*.exe` 162 170 do 163 ln -sf ${i} ${TOOLS_DIR}/${NEW_CONF}/.171 ln -sf ${i} ${TOOLS_DIR}/${NEW_CONF}/. 164 172 done 165 173 fi 166 174 fi 167 175 #- 168 176 #- Come back to original directory ---
Note: See TracChangeset
for help on using the changeset viewer.