mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-24 07:11:29 +08:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user