summaryrefslogtreecommitdiffstats
path: root/init-repository
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-08-11 15:04:25 +0200
committerAndras Becsi <andras.becsi@digia.com>2014-08-12 16:03:32 +0200
commited9a5c8a62a4fdb05751407f842c25521077d5d9 (patch)
tree6caba3d20d79affd44b9139b6393260c704abad8 /init-repository
parent9677483cdc6550871c4db9de97ee72dbe239c40f (diff)
initialize qtwebengine's chromium submodule after cloning it
Change-Id: I7e3ef09eb437f700c6fe010ce44a711118e8bd75 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'init-repository')
-rwxr-xr-xinit-repository6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-repository b/init-repository
index faef7f00..1774003c 100755
--- a/init-repository
+++ b/init-repository
@@ -474,6 +474,12 @@ sub git_clone_all_submodules
foreach my $line (@configresult) {
if ($line =~ /submodule\.([^.=]+)\.url=(.*)/) {
$self->git_clone_one_submodule($1, $2);
+ if ($1 eq "qtwebengine") {
+ chdir($1) or confess "chdir $1: $OS_ERROR";
+ $self->exe('git', 'submodule', 'init');
+ $self->git_clone_all_submodules;
+ chdir("..") or confess "chdir $1: $OS_ERROR";
+ }
}
}