Changeset 1215
- Timestamp:
- 07/06/15 17:26:23 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_comp/libIGCM_comp.ksh
r1206 r1215 1060 1060 fi 1061 1061 1062 # Test if the file exist 1062 # Test if the file exist. 1063 # Exit with error if the file does not exist for the case blocker or force. 1064 # Only return for the case nonblocker. 1063 1065 if [ ! -f ${filein} ] ; then 1064 IGCM_debug_Exit "IGCM_comp_modifyDefFile: ${filein} does not exist." 1066 if [ ${type} = blocker ] || [ ${type} = force ] ; then 1067 IGCM_debug_Exit "IGCM_comp_modifyDefFile: ${filein} does not exist." 1068 else 1069 IGCM_debug_Print 1 "IGCM_comp_modifyDefFile: ${filein} does not exist. Nothing will be done for this file." 1070 fi 1065 1071 IGCM_debug_PopStack "IGCM_comp_modifyDefFile" 1066 1072 return … … 1193 1199 fi 1194 1200 1195 # Test if the file exist 1201 # Test if the file exist. 1202 # Exit with error if the file does not exist for the case blocker or force. 1203 # Only return for the case nonblocker. 1196 1204 if [ ! -f ${filein} ] ; then 1197 IGCM_debug_Exit "IGCM_comp_modifyNamelist: ${filein} does not exist." 1205 if [ ${type} = blocker ] || [ ${type} = force ] ; then 1206 IGCM_debug_Exit "IGCM_comp_modifyNamelist: ${filein} does not exist." 1207 else 1208 IGCM_debug_Print 1 "IGCM_comp_modifyNamelist: ${filein} does not exist. Nothing will be done for this file." 1209 fi 1198 1210 IGCM_debug_PopStack "IGCM_comp_modifyNamelist" 1199 1211 return … … 1306 1318 fi 1307 1319 1308 # Test if the file exist 1320 # Test if the file exist. 1321 # Exit with error if the file does not exist for the case blocker or force. 1322 # Only return for the case nonblocker. 1309 1323 if [ ! -f ${filein} ] ; then 1310 IGCM_debug_Exit "IGCM_comp_modifyXmlFile: ${filein} does not exist." 1324 if [ ${type} = blocker ] || [ ${type} = force ] ; then 1325 IGCM_debug_Exit "IGCM_comp_modifyXmlFile: ${filein} does not exist." 1326 else 1327 IGCM_debug_Print 1 "IGCM_comp_modifyXmlFile: ${filein} does not exist. Nothing will be done for this file." 1328 fi 1311 1329 IGCM_debug_PopStack "IGCM_comp_modifyXmlFile" 1312 1330 return
Note: See TracChangeset
for help on using the changeset viewer.