aboutsummaryrefslogtreecommitdiffstats
path: root/cli/eps2pdf.sh
blob: b803732e3fa1bc3fc323c69184dfcf139549043b (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# convert from eps to pdf using gs

GS="`which gs`"
BASENAME="`basename $1 .eps`"
${GS} -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -sOutputFile=${BASENAME}.pdf - < $1