From 1fbd309840f70493d58f897c47128d5adaa1ade1 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 8 Sep 2016 11:40:11 +0200 Subject: [PATCH] build: better error reporting in bootstrap --- bootstrap | 13 +++++++++++++ lol | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 3c86f2f..af50f77 100755 --- a/bootstrap +++ b/bootstrap @@ -1,5 +1,18 @@ #!/bin/sh +# Check that the repository is properly set up +if [ ! -x "./lol/bootstrap" ]; then +cat << EOF +Error: cannot execute lol/bootstrap + +Did you configure the Lol Engine submodule? The following may help: + + git submodule update --init --recursive + +EOF + exit 1 +fi + # Bootstrap this project first, using the Lol Engine script ./lol/bootstrap diff --git a/lol b/lol index e277059..99c8c23 160000 --- a/lol +++ b/lol @@ -1 +1 @@ -Subproject commit e2770595450f709f2b841299ef6a1b7d5fa79a76 +Subproject commit 99c8c2353e082b20cf8d6f2a5501331dfc2a54ca