From 46f143db5a8bfcfd6de2a6ca9f7069e006eb8710 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 14 Aug 2020 16:20:55 +0200 Subject: Make graphics/update fail on error. --- graphics/update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphics/update b/graphics/update index 5fc7aa519..cee8a3ca1 100755 --- a/graphics/update +++ b/graphics/update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # # Update generated stuff in graphics/ from the source files. # @@ -6,6 +6,8 @@ # a) getting the wscript right is a complete pain in the arse # b) running Inkscape from the command line on OS X is a complete pain in the arse +set -e + pwd=`pwd` if [ `basename $pwd` != "graphics" ]; then echo "$0: run within graphics/" -- cgit v1.2.3