Ignore:
Timestamp:
07/30/05 01:15:40 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/runstar

    r7232 r7233  
    4444
    4545scriptlogpath=$logpath/run/star/`date +%Y/%m/%d`
    46 if [ ! -d $scriptlogpath ]
    47 then
    48   mkdir -pv $scriptlogpath
    49   if [ ! -d $scriptlogpath ]
    50   then
    51      echo "could not make scriptlogpath "$scriptlogpath
    52      exit
    53   fi
    54 fi
    55 
     46makedir $scriptlogpath
    5647scriptlog=$scriptlogpath/runstar-$datetime.log
    5748
    5849date >> $scriptlog 2>&1
    5950
    60 
    61 if [ ! -d $getstatuslogpath ]
    62 then
    63   mkdir -pv $getstatuslogpath >> $scriptlog 2>&1
    64   if [ ! -d $getstatuslogpath ]
    65   then
    66      echo "could not make getstatuslogpath "$getstatuslogpath >> $scriptlog 2>&1
    67      date  >> $scriptlog 2>&1
    68      exit
    69   fi
    70 fi
     51makedir $getstatuslogpath >> $scriptlog 2>&1
    7152
    7253cd $mars
     
    175156  echo "inpath: "$inpath >> $scriptlog 2>&1
    176157  echo "outpath: "$outpath >> $scriptlog 2>&1
    177   if [ ! -d $outpath ]
    178   then
    179     mkdir -pv $outpath >> $scriptlog 2>&1
    180     if [ ! -d $outpath ]
    181     then
    182        echo "could not make outpath $outpath -> continue " >> $scriptlog 2>&1
    183        continue
    184     fi
    185   fi
     158  makedir $outpath >> $scriptlog 2>&1
     159
    186160  sequfile="$sequpath/$no/sequence$no2.txt"
    187161  echo "sequfile: "$sequfile >> $scriptlog 2>&1
     
    195169          echo "-> inserting the status for star for sequence $sequence into the db" >> $scriptlog 2>&1
    196170          setstatuslogpath=$logpath/setstatus/star/$no
    197           if [ ! -d $setstatuslogpath ]
    198           then
    199             mkdir -pv $setstatuslogpath >> $scriptlog 2>&1
    200             if [ ! -d $setstatuslogpath ]
    201             then
    202                echo "could not make setstatuslogpath "$setstatuslogpath >> $scriptlog 2>&1
    203                continue
    204             fi
    205           fi
     171          makedir $setstatuslogpath >> $scriptlog 2>&1
    206172          setstatuslog=$setstatuslogpath/setstatus-star-$no2.log
     173
    207174          check4=`root -q -b $macrospath/setstatus.C+\("\"$sequence\""\,"\"$table\""\,"\"$column\""\,"\"Now()\""\) | tee $setstatuslog | grep int | sed -e 's/(int)//'`
    208175          case $check4 in
Note: See TracChangeset for help on using the changeset viewer.