Ignore:
Timestamp:
08/08/13 15:10:45 (11 years ago)
Author:
sdipsl
Message:
  • cleanup
  • whitespace-cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_clean_year

    r832 r906  
    7373 
    7474#================================== 
    75 # Is the pack active  
     75# Is the pack active 
    7676if ( [ ! X${config_Post_PackFrequency} = X${NULL_STR} ] && \ 
    7777     [ ! X${config_Post_PackFrequency} = XNONE ] ) ; then 
     
    8282[ $? != 0 ] && IGCM_debug_Exit "IGCM_sys_TestDirArchive" 
    8383 
    84 if [ ! -f ${SUBMIT_DIR}/run.card ]; then  
     84if [ ! -f ${SUBMIT_DIR}/run.card ]; then 
    8585    echo "You seem NOT to have a run.card in this directory !!" 
    8686    echo "This script will fail because it doesn't know what to do without run.card available." 
     
    107107 
    108108if [ $# == 1 ] ; then 
    109   if [ ${#1} != 4 ] ; then  
     109  if [ ${#1} != 4 ] ; then 
    110110    echo "You must give a year (SSAA) as argument." 
    111111    exit 1 
     
    157157 
    158158 
    159   if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then  
     159  if ( [ ${CountListFiles} -gt 0 ] || [ ${CountListFilesBuf} -gt 0 ] ) ; then 
    160160    IGCM_debug_Print 1 "Number of files to be erased from ${R_SAVE} : ${CountListFiles}." 
    161161    for file in ${ListFiles[@]} ; do 
     
    188188  fi 
    189189 
    190   if [ ${CountRebuildDir} -gt 0 ] ; then  
     190  if [ ${CountRebuildDir} -gt 0 ] ; then 
    191191    IGCM_debug_Print 1 "Number of REBUILD Dirs to be erased : ${CountRebuildDir}." 
    192192    for Dir in ${RebuildDir[@]} ; do 
     
    265265      else 
    266266        # 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 
    268268        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "OnQueue" 
    269269        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration CumulPeriod ${NewCumulPeriod} 
Note: See TracChangeset for help on using the changeset viewer.