Ignore:
Timestamp:
10/24/12 10:45:59 (12 years ago)
Author:
aclsce
Message:

Modified to write log files in TMP_MIGR_DATA directory (instead of current directory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/PACK_IPSL/DEM_utilities.sh

    r1887 r1900  
    108108    LOG_LEV=${LOG_LEV:-3} 
    109109    local OPTARG OPTIND L_LOG=1 
    110     local L_DEM_LOG=${DEM_LOG:-dem_log.${$}} 
     110    local L_DEM_LOG=${DEM_LOG:-${TMP_MIGR_DATA}/dem_log.${$}} 
    111111 
    112112    while getopts 0123 L_NAME 
     
    172172    # ------------------------------------- 
    173173    #    test sur la var contenant le nom du fichier d'erreur 
    174     if [ "x${errorMsgFile}" != "x${PWD}/errorMsg.txt" ] 
     174    if [ "x${errorMsgFile}" != "x${TMP_MIGR_DATA}/errorMsg.txt" ] 
    175175    then 
    176176        echo "      Le fichier d'erreur a un nom incorrect" 
     
    191191    # --------------------------------------- 
    192192    #    test sur la var contenant le nom du fichier d'erreur 
    193     if [ "x${errorMsgFile}" != "x${PWD}/errorMsg.txt" ] 
     193    if [ "x${errorMsgFile}" != "x${TMP_MIGR_DATA}/errorMsg.txt" ] 
    194194    then 
    195195       echo "      Le fichier d'erreur a un nom incorrect" 
Note: See TracChangeset for help on using the changeset viewer.