- Timestamp:
- 04/02/15 15:55:22 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_clean_month
r1059 r1185 94 94 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/run.card Configuration CumulPeriod 95 95 96 # 97 if [ X${run_Configuration_CumulPeriod} = X ] ; then 98 echo -e "\033[1;32mCumulPeriod is empty so we want to erase run.card to start properly. Do you want that?" 99 echo -n -e " Your answer (y/n) : \033[m" 100 read reponse 101 case ${reponse} in 102 103 oui|OUI|o|y|yes|YES) 104 echo "OK. Now you can submit the Job : ${SUBMIT_DIR}/Job_${config_UserChoices_JobName}." 105 IGCM_sys_Rm ${SUBMIT_DIR}/run.card 106 ;; 107 non|NON|n|no|NO) 108 echo "Nothing to do !" 109 ;; 110 esac 111 exit 0 112 fi 113 96 114 PeriodDateEnd=$( IGCM_date_ConvertFormatToGregorian ${run_Configuration_PeriodDateEnd} ) 97 115 echo "Search files with ${PeriodDateEnd} in ${R_SAVE}" … … 186 204 fi 187 205 188 if ( [ X${run_Configuration_CumulPeriod} = X ] || [ X${run_Configuration_CumulPeriod} = X1 ] ); then 189 206 if [ X${run_Configuration_CumulPeriod} = X1 ] ; then 190 207 echo -e "\033[1;32mCumulPeriod=1 so we want to erase run.card to start properly. Do you want that too?" 191 208 echo -n -e " Your answer (y/n) : \033[m" … … 201 218 ;; 202 219 esac 203 204 220 fi 205 221 fi
Note: See TracChangeset
for help on using the changeset viewer.