From 59fa57f2a3909d9f88561c54cbc7eef60d932721 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 415b2d931..3231c93d1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,6 +17,8 @@ # Only there to make jhbuild happy +set -e + if [ -z $MESON ]; then MESON=`which meson` fi