Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 162 Bytes
#!/bin/sh
IN="$1"
OUT="`basename "$1" .dot`.pdf"
dot -Tps -o dot2pdf.tmp.$$.ps "$IN"
ps2pdf dot2pdf.tmp.$$.ps
rm dot2pdf.tmp.$$.ps
mv dot2pdf.tmp.$$.pdf "$OUT"