From 6ab18dddb3b8e6c510f41637a32c8b384db923d0 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 7 Sep 2022 21:12:38 +0200 Subject: [PATCH] Have autogen.sh fail if autoreconf fails --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/autogen.sh b/autogen.sh index c49e3bc..57a2b60 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,9 +6,11 @@ if autoreconf --install --symlink --force; then echo "------------------------------------------------------" echo else + s="$?" echo echo "--------------------------" echo "Running autoreconf failed." echo "--------------------------" echo + exit "$s" fi -- libgit2 0.21.4