diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-06-21 16:54:22 +1000 |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-06-21 16:54:22 +1000 |
commit | 8484878f255b99e84ac0416a319758df408b3640 (patch) | |
tree | 0ee01e0607ad1055083e7a422cbe2c5f81452cec /init-repository | |
parent | d8b73a8ba0f61cb12d74ee28ceccb5710674d70d (diff) |
Have init-repository init nested submodule in qtdeclarative
qtdeclarative is expected to gain a nested submodule soon. This change
makes init-repository checkout that submodule as well.
Reviewed-by: Rohan McGovern
Diffstat (limited to 'init-repository')
-rwxr-xr-x | init-repository | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init-repository b/init-repository index 15dc26d9..c41f1c9c 100755 --- a/init-repository +++ b/init-repository @@ -579,6 +579,11 @@ sub git_clone_one_submodule unlink($alternates_path) || confess "unlink $alternates_path: $OS_ERROR"; } + if ($submodule eq "qtdeclarative") { #Extra step needed to setup declarative + $self->exe('git', 'submodule', 'init'); + $self->exe('git', 'submodule', 'update'); + } + chdir("..") or confess "cd ..: $OS_ERROR"; return; |