From 97b0d08e4fedd96fc4c2fd2c851fa1e7e0e907dd Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sun, 29 Nov 2020 16:35:47 -0800 Subject: [PATCH] Rework configure script so exit code works. The previous script would swallow the exit code of the `./configure` script and thus it looked like doing a configure always succeeded. Signed-off-by: Tim 'mithro' Ansell --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8df0ef3..1cb5571 100755 --- a/configure +++ b/configure @@ -4,4 +4,6 @@ # all of its config scripts in a different directory than the configure # script itself. -( CFLAGS="-g" ; export CFLAGS ; cd scripts ; ./configure "$@" ) +export CFLAGS="-g" +cd scripts +exec ./configure "$@"