Changeset 17321 for trunk


Ignore:
Timestamp:
11/16/13 19:37:04 (11 years ago)
Author:
tbretz
Message:
Fixed a bug which caused the macro to be executed twice.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/gain/fit.sh

    r17195 r17321  
    2121    fi
    2222
    23     cmd="date; ROOT_HIST=0 ${ROOTSYS}/bin/root -b -q -l ${macro}+\(\\\"${infile}\\\",\\\"${outfile}\\\"\)"
     23    cmd="ROOT_HIST=0 ${ROOTSYS}/bin/root -b -q -l ${macro}+\(\\\"${infile}\\\",\\\"${outfile}\\\"\)"
    2424
    2525    cd ~/Mars
    2626
    27     echo "echo ${cmd}; ${cmd}" | qsub -N f${file} -q test -cwd -e ${outfile}".err" -o ${outfile}".log"
     27    echo "echo '${cmd}'; date; ${cmd}" | qsub -N f${file} -q test -cwd -e ${outfile}".err" -o ${outfile}".log"
    2828
    2929    cd - > /dev/null
Note: See TracChangeset for help on using the changeset viewer.