From bb8a41f8c57c73b480a9d6ea502e14be2af15f46 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 25 May 2016 21:15:56 -0400 Subject: [PATCH] Do git submodule init/update in bootstrap script --- bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index a49b8fba..7ad2fa81 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,6 +3,11 @@ PYTHON=python3 command -v $PYTHON -m venv >/dev/null 2>&1 || { echo >&2 "Python 3.3 required. Install it and try again. Aborting"; exit 1; } +if [ -d ".git" ]; then + git submodule init + git submodule update +fi + if [ -d "deps" ]; then # We have a collection of dependencies in our source package. We might as well use it instead # of downloading it from PyPI.