about summary refs log tree commit diff
path: root/scripts/build-many-glibcs.py
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-09-05 15:51:05 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-09-05 15:52:24 +0200
commit0784e7913f97370388d590b32afeab48522b7026 (patch)
treeddf4e3024cda1a1b6a60b82f2a4c2cf860e58739 /scripts/build-many-glibcs.py
parentcd84e30c047049c2d7cd425384afc3a860977eec (diff)
downloadglibc-0784e7913f97370388d590b32afeab48522b7026.tar.gz
glibc-0784e7913f97370388d590b32afeab48522b7026.tar.xz
glibc-0784e7913f97370388d590b32afeab48522b7026.zip
scripts/build-many-glibcs.py: Use https:// for sourceware.org Git clones
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'scripts/build-many-glibcs.py')
-rwxr-xr-xscripts/build-many-glibcs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index db632b18a3..5d47c3b200 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -858,7 +858,7 @@ class Context(object):
         """Check out the given version of the given component from version
         control.  Return a revision identifier."""
         if component == 'binutils':
-            git_url = 'git://sourceware.org/git/binutils-gdb.git'
+            git_url = 'https://sourceware.org/git/binutils-gdb.git'
             if version == 'mainline':
                 git_branch = 'master'
             else:
@@ -872,7 +872,7 @@ class Context(object):
                 branch = 'releases/gcc-%s' % version
             return self.gcc_checkout(branch, update)
         elif component == 'glibc':
-            git_url = 'git://sourceware.org/git/glibc.git'
+            git_url = 'https://sourceware.org/git/glibc.git'
             if version == 'mainline':
                 git_branch = 'master'
             else:
@@ -961,7 +961,7 @@ class Context(object):
             shutil.rmtree(self.component_srcdir('gcc'))
             update = False
         if not update:
-            self.git_checkout('gcc', 'git://gcc.gnu.org/git/gcc.git',
+            self.git_checkout('gcc', 'https://gcc.gnu.org/git/gcc.git',
                               branch, update)
         subprocess.run(['contrib/gcc_update', '--silent'],
                        cwd=self.component_srcdir('gcc'), check=True)