Changeset 1402 for trunk


Ignore:
Timestamp:
07/07/17 11:37:44 (7 years ago)
Author:
sdipsl
Message:
  • Better user interaction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_purge_simulation

    r1401 r1402  
    9898  IGCM_debug_Print 2 -e "\033[1;31m ${SUBMIT_DIR}/Script_Output_*.??????\033[m" 
    9999 
    100   echo -e "\033[1;32mDo you REALLY want to erase all those directories and files?" 
    101   echo -n -e " Your answer (y/n) : \033[m" 
     100  echo -e "\033[1;32mDo you REALLY want to erase all those directories and files?\033[m" 
     101  echo -n " Your answer (y/n) :" 
    102102  read reponse 
    103103  case ${reponse} in 
     
    109109      ERASE=TRUE 
    110110    else 
    111       echo -e "\033[1;32mPlease type in the exact Job Name of the simulation to erase?" 
     111      echo -e "\033[1;32mPlease type in the exact Job Name of the simulation to erase?\033[m" 
    112112      read jobname 
    113       if [ X${config_UserChoices_JobName} = X${jobname} ; then 
     113      if [ X${config_UserChoices_JobName} = X${jobname} ] ; then 
    114114        ERASE=TRUE 
     115      else 
     116        echo "JobName you gave and the one from config.card do not match. Stop here." 
    115117      fi 
    116118    fi 
Note: See TracChangeset for help on using the changeset viewer.