Commit 2ffeb8cb authored by akhuziy's avatar akhuziy
Browse files

fixed profit.sh entrance script for pdf report generation

parent 1953b9c2
......@@ -22,9 +22,10 @@ elif [ "$1" == "pdf" ]; then
fi
JOBID="$2"
JSON="$($BDATA -t pdf $JOBID -o $PFITTMP)"
JSONPATH=${PFITTMP}/${JOBID}.pdf.json
$BDATA -t pdf $JOBID > ${JSONPATH}
python3 $BPDF ${PFITTMP}/${JOBID}.pdf.json $PFITTMP ./
python3 $BPDF $JSONPATH $PFITTMP ./
else
JOBID="$1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment