summaryrefslogtreecommitdiffstats
path: root/svg2pdf
diff options
context:
space:
mode:
Diffstat (limited to 'svg2pdf')
-rwxr-xr-xsvg2pdf7
1 files changed, 4 insertions, 3 deletions
diff --git a/svg2pdf b/svg2pdf
index 798e6a3..10c69b9 100755
--- a/svg2pdf
+++ b/svg2pdf
@@ -1,5 +1,6 @@
#!/bin/bash
-b=${1%.svg}
-
-inkscape "$b.svg" -A "$b.pdf" --export-area-drawing --export-dpi=600
+for img in "$@"; do
+ b=${img%.svg}
+ inkscape "$b.svg" -A "$b.pdf" --export-area-drawing --export-dpi=600
+done