Created
February 2, 2012 21:11
-
-
Save kumar303/1725808 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/update/update.py b/scripts/update/update.py | |
index 5cffb9b..9b98318 100644 | |
--- a/scripts/update/update.py | |
+++ b/scripts/update/update.py | |
@@ -43,6 +43,7 @@ def update_code(ctx, ref='origin/master'): | |
ctx.local("git fetch && git fetch -t") | |
ctx.local("git checkout -f %s" % ref) | |
ctx.local("git submodule sync") | |
+ ctx.local("git submodule update --init --recursive") | |
# `submodule sync` doesn't do `--recursive` yet. (P.S. We `sync` twice | |
# to git around a git bug. I have kumar's blessing.) | |
ctx.local("git submodule --quiet foreach 'git submodule --quiet sync " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment