From 163f66974505461852fea3d95cc033e02518db99 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 15 Jun 2022 17:00:02 +0300
Subject: [PATCH] minor tidy-up to configury.
---
test/autogen.sh | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/test/autogen.sh b/test/autogen.sh
index 988d41760d9..f1716a59743 100755
--- a/test/autogen.sh
+++ b/test/autogen.sh
@@ -1,11 +1,9 @@
#!/bin/sh
-cp acinclude.m4 aclocal.m4
+set -e
-if test "$AUTOCONF"x = x; then
- AUTOCONF=autoconf
-fi
+cp acinclude.m4 aclocal.m4
-$AUTOCONF || exit 1
+"${AUTOCONF:-autoconf}"
rm aclocal.m4
rm -rf autom4te.cache