/[PAMELA software]/chewbacca/extractcalibs.sh
ViewVC logotype

Diff of /chewbacca/extractcalibs.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mocchiut, Thu Dec 18 12:58:36 2008 UTC revision 1.4 by mocchiut, Fri Feb 12 04:47:45 2010 UTC
# Line 93  for file in `ls ${INDIR}`; do Line 93  for file in `ls ${INDIR}`; do
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} ;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23