Fixed public link to qlalr.
authoraxis <qt-info@nokia.com>
Tue, 26 Apr 2011 15:41:56 +0000 (17:41 +0200)
committeraxis <qt-info@nokia.com>
Wed, 27 Apr 2011 10:45:10 +0000 (12:45 +0200)
.gitmodules
init-repository

index d8b9c41..faebab1 100644 (file)
@@ -36,7 +36,7 @@
        url = git://gitorious.org/qt/qtdoc.git
 [submodule "qlalr"]
        path = qlalr
-       url = git://gitorious.org/qt/qlalr.git
+       url = git://gitorious.org/qt-labs/qlalr.git
 [submodule "qtrepotools"]
        path = qtrepotools
        url = git://gitorious.org/qt/qtrepotools.git
index ac3a7a2..c9d61be 100755 (executable)
@@ -105,9 +105,12 @@ if ($nokia_developer) {
         if (/(submodule\.[^.=]+\.url)=(.*)/) {
             my $key = $1;
             my $value = $2;
-            # WebKit is special, and has only external link.
             if ($key eq "submodule.qtwebkit.url") {
+                # WebKit is special, and has only external link.
                 $value =~ s,^git://gitorious\.org/,git\@gitorious.org:,;
+            } elsif ($key eq "submodule.qlalr.url") {
+                # qlalr is hosted on qt-labs externally, but under qt internally.
+                $value =~ s,^git://gitorious\.org/qt-labs/,git\@scm.dev.nokia.troll.no:qt/,;
             } else {
                 $value =~ s,^git://gitorious\.org/,git\@scm.dev.nokia.troll.no:,;
             }