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 <[email protected]>
This commit is contained in:
Tim 'mithro' Ansell
2020-11-29 16:35:47 -08:00
parent d2c356f9e2
commit 97b0d08e4f
Vendored
+3 -1
View File
@@ -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 "$@"