summaryrefslogtreecommitdiffstats
path: root/scripts/qt
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@digia.com>2013-04-29 08:12:55 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-30 11:53:16 +0200
commit33bca12c8a6410a044442a08b2ae8bab45edca9d (patch)
tree00a70a8aec29812f4286ae79920828af4cb590dd /scripts/qt
parent0c4a821e0ceb8afb02ae8b8657c452550c24b2e3 (diff)
Adding git origin url to be used with relative submodule path
The qt5 repository was fetched without remote url, which prevents using releative submodule spec in .gitmodules with early 1.7.x git versions. Change-Id: I43d5e321756e11c65ce63a80a6f1fb21a70d5d79 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'scripts/qt')
-rwxr-xr-xscripts/qt/qtmod_test.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/qt/qtmod_test.pl b/scripts/qt/qtmod_test.pl
index f087b6f2..9071d53e 100755
--- a/scripts/qt/qtmod_test.pl
+++ b/scripts/qt/qtmod_test.pl
@@ -818,6 +818,11 @@ sub run_git_checkout
$self->exe( 'git', 'clone', '--branch', $qt_branch, $qt_repository, $qt_dir );
}
+ if ($qt_gitmodule eq 'qt5') {
+ # We have to set the remote url to be used with older git clients
+ $self->exe( 'git', 'config', 'remote.origin.url', $qt_repository );
+ }
+
local $CWD = $qt_dir;
# map from gitmodule name to desired ref for testing