Message ID | 1407352611-7652-17-git-send-email-diorcet.yann@gmail.com |
---|---|
State | New |
Delegated to: | Esben Haabendal |
Headers | show |
diff --git a/lib/oelite/fetch/git.py b/lib/oelite/fetch/git.py index 1559d8d..1b71b1c 100644 --- a/lib/oelite/fetch/git.py +++ b/lib/oelite/fetch/git.py @@ -262,6 +262,10 @@ class GitFetcher(): if not oelite.util.shcmd(cmd, dir=self.dest): print "Error: git checkout failed" return False + cmd = "git submodule update --init" + if not oelite.util.shcmd(cmd, dir=self.dest): + print "Error: git clone failed" + return False return True def mirror(self, mirror=os.getcwd()):