prepare.py: improve error command hint when submodules are not found

This commit is contained in:
Gautier Pelloux-Prayer 2015-11-25 11:21:09 +01:00
parent c8fa105fe7
commit 8a2458cddb

View file

@ -37,7 +37,8 @@ try:
import prepare
except Exception as e:
error(
"Could not find prepare module: {}, probably missing submodules/cmake-builder? Try running:\ngit submodule update --init --recursive".format(e))
"Could not find prepare module: {}, probably missing submodules/cmake-builder? Try running:\n"
"git submodule sync && git submodule update --init --recursive".format(e))
exit(1)