summaryrefslogtreecommitdiffstats
path: root/init-repository
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-06-21 16:54:22 +1000
committerAlan Alpert <alan.alpert@nokia.com>2011-06-21 16:54:22 +1000
commit8484878f255b99e84ac0416a319758df408b3640 (patch)
tree0ee01e0607ad1055083e7a422cbe2c5f81452cec /init-repository
parentd8b73a8ba0f61cb12d74ee28ceccb5710674d70d (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-xinit-repository5
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;