aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-09-07 12:06:54 +0200
committerDavid Runge <dave@sleepmap.de>2019-09-07 12:06:54 +0200
commitf1756d600b123417316d14962ed362d7dc1d824d (patch)
treeb189d986ac98f7708d5dc197783cec6f99a032a3 /bin
parent45bbb20fc8b6fb81d489c9d71f38d5607bb242bd (diff)
downloaddotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.gz
dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.bz2
dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.tar.xz
dotfiles-f1756d600b123417316d14962ed362d7dc1d824d.zip
bin/tex2pdf: Making sure to only match .svg files, when rendering svgs to pdf.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tex2pdf2
1 files changed, 1 insertions, 1 deletions
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