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/insertdatasets

    r7232 r7233  
    3838
    3939scriptlogpath=$logpath/run/insertdatasets/`date +%Y/%m`
    40 if [ ! -d $scriptlogpath ]
    41 then
    42   mkdir -pv $scriptlogpath
    43   if [ ! -d $scriptlogpath ]
    44   then
    45      echo "could not make scriptlogpath "$scriptlogpath
    46      exit
    47   fi
    48 fi
     40makedir $scriptlogpath
    4941
    5042scriptlog=$scriptlogpath/insertdatasets-$datetime.log
     
    9789   
    9890   insertdatasetpath=$logpath/insertdataset/$no3
    99    if [ ! -d $insertdatasetpath ]
    100       then
    101       mkdir -pv $insertdatasetpath >> $scriptlog 2>&1
    102       if [ ! -d $insertdatasetpath ]
    103       then
    104          echo "could not make insertdatasetpath "$insertdatasetpath >> $scriptlog 2>&1
    105          continue
    106       fi
    107    fi
     91   makedir $insertdatasetpath >> $scriptlog 2>&1
    10892   insertdatasetlog=$insertdatasetpath/insertdataset-$no3.log
     93
    10994   check0=`root -q -b $macrospath/insertdataset.C+\("\"$no2\""\,"\"$source\""\,"\"$wobble\"",kFALSE\) | tee $insertdatasetlog | grep int | sed -e 's/(int)//'`
    11095   case $check0 in
Note: See TracChangeset for help on using the changeset viewer.