Commit 2ffeb8cb authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed profit.sh entrance script for pdf report generation

parent 1953b9c2
...@@ -22,9 +22,10 @@ elif [ "$1" == "pdf" ]; then ...@@ -22,9 +22,10 @@ elif [ "$1" == "pdf" ]; then
fi fi
JOBID="$2" 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 else
JOBID="$1" 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