1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-06-28 22:42:01 +03:00

dsv: added DSV_PDFVIEWER as a means to set a PDF viewer different from xpdf

dsv/dsv (search): if the environment variable _DSV_PDFVIEWER is set, use
  the program mentioned there instead of xpdf (suggested by Wolfgang
  Spraul)
This commit is contained in:
Werner Almesberger 2010-12-13 11:46:28 -03:00
parent 4f655930a4
commit fb1c75cc4d

View File

@ -148,7 +148,7 @@ search()
echo "$1 -> $file: does not exist" 2>&1
exit 1
fi
xpdf "$DSV_DIR/$file"
${DSV_PDFVIEWER:-xpdf} "$DSV_DIR/$file"
exit
fi
fi