Changeset 1835 for TOOLS/PACK_IPSL


Ignore:
Timestamp:
07/30/12 11:49:44 (12 years ago)
Author:
acosce
Message:

Correct little error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/DEM_utilities.sh

    r1822 r1835  
    355355   # nom du présent prog (pour gestion des erreurs)  
    356356   PROGNAME="DEM_utilities.sh" ######### 
    357     
     357 
    358358   currentStep=${1} 
    359     
    360359   stepMsg=`echo $currentStep | grep -e '^.*\.sh-->OK$' | wc -l ` 
    361    if [ "x{stepMsg}" == "x0" ] 
     360   if [ "x${stepMsg}" == "x0" ] 
    362361   then 
    363362      DEM_errorSend "${PROGNAME}:${LINENO}:Le nom de l'etape courante n'est pas au bon format !" 
     
    365364    
    366365   currentStepScriptName=`echo $currentStep | sed 's;\.sh-->OK;;' ` 
    367     
    368366   # si le fichier de suivi general n'existe pas, il n'y a pas eu de passage de script de liste avant. 
    369367   # ==> on sort normalement 
     
    374372    
    375373   currentStepPassed=`grep ${currentStep} ${generalMonitorFile} | wc -l ` 
    376        
    377374   if [ "x${currentStepPassed}" != "x0" ] 
    378375   then 
Note: See TracChangeset for help on using the changeset viewer.