From f851660c71958eda152b7256af575393e67db5af Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Thu, 13 Sep 2012 09:56:39 +0300 Subject: [PATCH] scripts: report autotools failures in bootstrap. --- bootstrap | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index 4d66f16..ac327fd 100755 --- a/bootstrap +++ b/bootstrap @@ -9,11 +9,13 @@ aclocal -I m4 && \ status=$? if [ $status == 0 ]; then - if [ "$1" == "configure" ]; then - shift + if [ -n "$1" ]; then + [ "$1" == "configure" ] && shift || : ./configure $* status=$? fi +else + echo "Failed to bootstrap." fi exit $status -- 2.7.4