From d0c771f59fe55bd7f56ad7eeedc95c2da7c4a2bf Mon Sep 17 00:00:00 2001 From: Alan McGovern Date: Thu, 17 Dec 2015 14:24:02 +0000 Subject: [build] Error out with a nice warning if submodules are missing It's even coloured red now to make it even more obvious that something failed. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index c3e315f3b9..aad95834ec 100755 --- a/configure +++ b/configure @@ -196,7 +196,10 @@ configure_packages () elif test -a $path/configure.sh; then sct=./configure.sh else - echo Configuration script not found in directory: $p + echo -en '\033[0;31m' + echo Configuration script not found in directory: $path + echo Try running $ git submodule update --init --recursive + echo -en '\033[0m' exit 1 fi pushd $path > /dev/null -- cgit v1.2.3