From f1756d600b123417316d14962ed362d7dc1d824d Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 7 Sep 2019 12:06:54 +0200 Subject: bin/tex2pdf: Making sure to only match .svg files, when rendering svgs to pdf. --- bin/tex2pdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/tex2pdf b/bin/tex2pdf index d11c830..aea0d56 100755 --- a/bin/tex2pdf +++ b/bin/tex2pdf @@ -110,7 +110,7 @@ render_svgs() { echo "Rendering SVGs to pdfs." for dir in "${dirname}/images" "${dirname}/../images"; do if [ -d "${dir}" ]; then - for svg in "${dir}/"*; do + for svg in "${dir}/"*.svg; do inkscape -D -z -A "${svg%\.svg}".pdf "${svg}" done fi -- cgit v1.2.3-70-g09d2