summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-05-17 11:31:21 +0200
committerWim Taymans <wim.taymans@gmail.com>2019-05-22 10:19:58 +0200
commit59fa57f2a3909d9f88561c54cbc7eef60d932721 (patch)
treeae98b02521717b96d6d2da3d0ea7c733d38f07c3
parent768b082834c2954683e271e905293d10c3e748e1 (diff)
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 <tzimmermann@suse.de>
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 415b2d93..3231c93d 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