Commit e540b2cf by John Jarvis

submodules are not on a branch, no need to pull

parent 8d344840
...@@ -72,11 +72,7 @@ clone_repos() { ...@@ -72,11 +72,7 @@ clone_repos() {
git clone git@github.com:MITx/mitx.git git clone git@github.com:MITx/mitx.git
fi fi
if [[ -d "$BASE/mitx/askbot/.git" ]]; then if [[ ! -d "$BASE/mitx/askbot/.git" ]]; then
output "Pulling askbot"
cd "$BASE/mitx/askbot"
git pull
else
output "Cloning askbot as a submodule of mitx" output "Cloning askbot as a submodule of mitx"
cd "$BASE/mitx" cd "$BASE/mitx"
git submodule update --init git submodule update --init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment