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>
This commit is contained in:
Thomas Zimmermann 2019-05-17 11:31:21 +02:00 committed by Wim Taymans
parent 768b082834
commit 59fa57f2a3

View file

@ -17,6 +17,8 @@
# Only there to make jhbuild happy
set -e
if [ -z $MESON ]; then
MESON=`which meson`
fi