From 27db6e19926c5074e638d36ca807886dfef6f12d Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Fri, 28 Nov 2014 18:41:04 +0100 Subject: Catch errors when converting SVGs to DXF. --- dxf_export/main.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dxf_export') 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 -- cgit