diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-31 12:43:58 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-31 12:59:46 +0000 |
commit | aef80bc9e112cb3ff607791b697a27c67e827ce8 (patch) | |
tree | 9b01aaf298390214efaeb2a4bd66dc4bd1a7c3cf /autogen.sh | |
parent | 80f20ce62c45ee76e73deeb5e0bcf52eee534d64 (diff) | |
download | libepoxy-aef80bc9e112cb3ff607791b697a27c67e827ce8.tar.gz |
build: Ensure that autogen exits with the right code
Since autogen.sh calls other commands that may fail, we should return
the exit code from those commands.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,9 +6,9 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir" -autoreconf -v --install || exit 1 +autoreconf -v --install || exit $? cd "$ORIGDIR" || exit $? if test -z "$NOCONFIGURE"; then - "$srcdir/configure" "$@" + exec "$srcdir/configure" "$@" fi |