Changeset 906 for trunk/libIGCM/AA_clean_year
- Timestamp:
- 08/08/13 15:10:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_clean_year
r832 r906 73 73 74 74 #================================== 75 # Is the pack active 75 # Is the pack active 76 76 if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && \ 77 77 [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then … … 82 82 [ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 83 83 84 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 84 if [ ! -f ${SUBMIT_DIR}/run.card ]; then 85 85 echo "You seem NOT to have a run.card in this directory !!" 86 86 echo "This script will fail because it doesn't know what to do without run.card available." … … 107 107 108 108 if [ $# == 1 ] ; then 109 if [ ${#1} != 4 ] ; then 109 if [ ${#1} != 4 ] ; then 110 110 echo "You must give a year (SSAA) as argument." 111 111 exit 1 … … 157 157 158 158 159 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 159 if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 160 160 IGCM_debug_Print 1 "Number of files to be erased from ${R_SAVE} : ${CountListFiles}." 161 161 for file in ${ListFiles[@]} ; do … … 188 188 fi 189 189 190 if [ ${CountRebuildDir} -gt 0 ] ; then 190 if [ ${CountRebuildDir} -gt 0 ] ; then 191 191 IGCM_debug_Print 1 "Number of REBUILD Dirs to be erased : ${CountRebuildDir}." 192 192 for Dir in ${RebuildDir[@]} ; do … … 265 265 else 266 266 #Â Update run.card 267 cp ${SUBMIT_DIR}/run.card ${SUBMIT_DIR}/run.card.old 267 cp ${SUBMIT_DIR}/run.card ${SUBMIT_DIR}/run.card.old 268 268 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "OnQueue" 269 269 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration CumulPeriod ${NewCumulPeriod}
Note: See TracChangeset
for help on using the changeset viewer.