Ignore:
Timestamp:
10/23/13 18:41:37 (11 years ago)
Author:
labetoulle
Message:

Bugfix for RunChecker? : restore -p option (problem with the loop used by -r option, #131).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_check/libIGCM_check.ksh

    r958 r961  
    124124 
    125125  if ( [ ${NbOcc} -eq 0 ] && ( ${fg_path} ) ) ; then 
     126 
     127    if [ ! "$( echo ${ConfigPath} | cut -c 1 )" == "/" ] ; then 
     128      ConfigPath="${PWD}/${ConfigPath}" 
     129    fi 
     130 
    126131    set -A FileList $( ls ${ConfigPath}/Job_* ) 
    127132    if [ X$FileList == X ] ; then 
     
    183188    1) 
    184189      if ( ${fg_new} ) ; then 
    185         JobName=${JobName:=$( basename ${FileList} | gawk -F"_" '{ print $2 }' )} 
     190#        JobName=${JobName:=$( basename ${FileList} | gawk -F"_" '{ print $2 }' )} 
     191        JobName=$( basename ${FileList} | gawk -F"_" '{ print $2 }' ) 
    186192        SUBMIT_DIR=$( dirname ${FileList} ) 
    187193        echo "${JobName} ${TargetUsr} ${HostName} ${SUBMIT_DIR}" 
Note: See TracChangeset for help on using the changeset viewer.