Ignore:
Timestamp:
12/17/12 19:51:34 (12 years ago)
Author:
aclsce
Message:

Fixed bbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/showPackProgress.sh

    r1913 r1978  
    318318   -p) echo "option -p selectionnee : publication" 
    319319       publish_mode=0 
    320        outputFile="monit_${USER}.txt" 
    321        outputFile_simus="${USER}_SIMUS/monit_${USER}_simus.txt" 
    322        if [ -d ${USER}_SIMUS ] 
     320       outputFile="${MONIT_DIR}/monit_${USER}.txt" 
     321       outputFile_simus="${MONIT_DIR}/${USER}_SIMUS/monit_${USER}_simus.txt" 
     322       if [ -d ${MONIT_DIR}/${USER}_SIMUS ] 
    323323       then 
    324            rm -f ${USER}_SIMUS/* 
     324           rm -f ${MONIT_DIR}/${USER}_SIMUS/* 
    325325       else 
    326            mkdir -p ${USER}_SIMUS 
     326           mkdir -p ${MONIT_DIR}/${USER}_SIMUS 
    327327       fi 
    328328       echo "Simulation;Status" > ${outputFile_simus} 
     
    486486            then 
    487487                simuName_modif=$( echo $simuName | sed s%"/"%"_"%g ) 
    488                 cat ${JOB_DIR}/simuPrint.txt $outRedirectStatemen > ${USER}_SIMUS/${simuName_modif}".log" 
     488                cat ${JOB_DIR}/simuPrint.txt $outRedirectStatemen > ${MONIT_DIR}/${USER}_SIMUS/${simuName_modif}".log" 
    489489            fi 
    490490        fi 
Note: See TracChangeset for help on using the changeset viewer.