From 83d1e37e2ce51a56dff38466da4bdab76ae413eb Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Fri, 17 May 2019 11:31:21 +0200 Subject: [PATCH] autogen.sh: Immediately fail on command errors If a command fails, there's no point in continuing with configuring the project. Exit immediately. Signed-off-by: Thomas Zimmermann --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogen.sh b/autogen.sh index 292193386..369a6f5af 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,6 +2,8 @@ # Only there to make jhbuild happy +set -e + git submodule init git submodule update