summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2014-11-28 18:41:04 +0100
committerMichael Schwarz <michi.schwarz@gmail.com>2014-11-28 18:41:04 +0100
commit27db6e19926c5074e638d36ca807886dfef6f12d (patch)
tree7b7b5d3ef5b803b71b7736fa57fd5bfca9b887d1
parent16d3e4a963d7fd299042ba27778744e0bd7da037 (diff)
downloadpogojig-27db6e19926c5074e638d36ca807886dfef6f12d.tar.gz
pogojig-27db6e19926c5074e638d36ca807886dfef6f12d.tar.bz2
pogojig-27db6e19926c5074e638d36ca807886dfef6f12d.zip
Catch errors when converting SVGs to DXF.
-rwxr-xr-xdxf_export/main.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dxf_export/main.sh b/dxf_export/main.sh
index ef888b0..4a7f3f3 100755
--- a/dxf_export/main.sh
+++ b/dxf_export/main.sh
@@ -1,5 +1,7 @@
#! /usr/bin/env bash
+set -e -o pipefail
+
in_file=$1
out_file=$2