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 <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2020-11-29 16:35:47 -08:00
parent d2c356f9e2
commit 97b0d08e4f
1 changed files with 3 additions and 1 deletions

4
configure vendored
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 "$@"