From 33b8b376b11c8b429bf1995eb7c526d099e26016 Mon Sep 17 00:00:00 2001 From: Lukas Barth Date: Thu, 15 Aug 2019 14:42:31 +0200 Subject: [PATCH] Fix pdftoipe --- tools/pdftoipe.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/pdftoipe.sh b/tools/pdftoipe.sh index 5dc732b..ac9a281 100755 --- a/tools/pdftoipe.sh +++ b/tools/pdftoipe.sh @@ -1,5 +1,10 @@ # !/bin/bash echo $1 -inkscape --verb=ObjectToPath --select=EditSelectAll --export-plain-svg=/tmp/$1.svg $1 -./svgtoipe.py /tmp/$1.svg $2 -rm /tmp/$1.svg + +TMPFILE=`mktemp` +TMPFILE="${TMPFILE}.svg" + +inkscape --verb=EditSelectAll --verb=ObjectToPath --export-plain-svg=$TMPFILE $1 +./svgtoipe.py $TMPFILE $2 +#rm $TMPFILE + -- 2.34.1