| 93 |
echo ${FN} >> ${LOG}; |
echo ${FN} >> ${LOG}; |
| 94 |
CH=`echo $FN |grep .root`; |
CH=`echo $FN |grep .root`; |
| 95 |
if [ "$CH" != "" ]; then |
if [ "$CH" != "" ]; then |
| 96 |
|
echo " Processing file $FN"; |
| 97 |
cat ${TEMPL} | sed s/nome/${FN}/ > ${GO}; |
cat ${TEMPL} | sed s/nome/${FN}/ > ${GO}; |
| 98 |
root -b -l < ${GO} &> ${LOG}; |
root -n -b -l < ${GO} &> ${LOG}; |
| 99 |
fi; |
fi; |
| 100 |
done |
done |
| 101 |
|
rm -f ${LOG}; |
| 102 |
rm -f ${GO}; |
rm -f ${GO}; |
| 103 |
rm -f ${TEMPL}; |
rm -f ${TEMPL}; |
| 104 |
cd ${OUTDIR} && tar zcvf ${OUTDIR}/${FNAME}.tar.gz ${FNAME} ; |
cd ${OUTDIR} && tar zcvf ${OUTDIR}/${FNAME}.tar.gz ${FNAME} ; |