From bf34c778bb7dfa9683fe87305bdeaadbe44a32c9 Mon Sep 17 00:00:00 2001
From: yjh4ydj89 <yjh4ydj89@example.com>
Date: Fri, 11 Apr 2014 15:08:06 +0000
Subject: [PATCH] Also use https:// instead of git:// when possible

git://git.kernel.org -> https://git.kernel.org
git://github.com     -> https://github.com
---
 RootStock-NG.sh                                 | 2 +-
 machinekit/scripts/007.make-dtc.shu             | 2 +-
 machinekit/scripts/x020.download.patch-bbio.shu | 2 +-
 readme.md                                       | 4 ++--
 tools/setup_sdcard.sh                           | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/RootStock-NG.sh b/RootStock-NG.sh
index 7193e5023..6b0cc9bcb 100755
--- a/RootStock-NG.sh
+++ b/RootStock-NG.sh
@@ -44,7 +44,7 @@ setup_git_trees () {
 	fi
 
 	git_project_name="linux-firmware"
-	git_clone_address="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
+	git_clone_address="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
 	generic_git
 
 	git_project_name="am33x-cm3"
diff --git a/machinekit/scripts/007.make-dtc.shu b/machinekit/scripts/007.make-dtc.shu
index 9a28d0875..181ee1aa2 100755
--- a/machinekit/scripts/007.make-dtc.shu
+++ b/machinekit/scripts/007.make-dtc.shu
@@ -8,7 +8,7 @@ cd ~
 if [ -f kickstart.${SOURCE}.tar ] ; then
 	tar xf kickstart.${SOURCE}.tar
 else
-	git clone -b dtc-fixup-fdc7387 git://github.com/RobertCNelson/dtc.git dtc
+	git clone -b dtc-fixup-fdc7387 https://github.com/RobertCNelson/dtc.git dtc
 	cd ~/dtc
 	make clean
 	make PREFIX=/usr/local/ CROSS_COMPILE= all
diff --git a/machinekit/scripts/x020.download.patch-bbio.shu b/machinekit/scripts/x020.download.patch-bbio.shu
index b7d2d7151..189848a1e 100755
--- a/machinekit/scripts/x020.download.patch-bbio.shu
+++ b/machinekit/scripts/x020.download.patch-bbio.shu
@@ -2,7 +2,7 @@
 
 cd ~
 
-git clone git://github.com/alexanderhiam/PyBBIO.git
+git clone https://github.com/alexanderhiam/PyBBIO.git
 
 cd PyBBIO
 
diff --git a/readme.md b/readme.md
index c034edff3..d0cbaf9b7 100644
--- a/readme.md
+++ b/readme.md
@@ -3,7 +3,7 @@ Scripts to support customized image generation for many arm systems
 BeagleBoard branch:
 ------------
 
-    git clone git://github.com/beagleboard/image-builder.git
+    git clone https://github.com/beagleboard/image-builder.git
 
 Images:
 
@@ -38,7 +38,7 @@ Release Process:
 Master branch:
 ------------
 
-    git clone git://github.com/RobertCNelson/omap-image-builder
+    git clone https://github.com/RobertCNelson/omap-image-builder
 
 Images:
 
diff --git a/tools/setup_sdcard.sh b/tools/setup_sdcard.sh
index 8ea863370..b2f4fc508 100755
--- a/tools/setup_sdcard.sh
+++ b/tools/setup_sdcard.sh
@@ -593,7 +593,7 @@ boot_git_tools () {
 		echo "Debug: Adding Useful scripts from: https://github.com/RobertCNelson/tools"
 		echo "-----------------------------"
 		mkdir -p ${TEMPDIR}/disk/tools
-		git clone git://github.com/RobertCNelson/tools.git ${TEMPDIR}/disk/tools || true
+		git clone https://github.com/RobertCNelson/tools.git ${TEMPDIR}/disk/tools || true
 		if [ ! -f ${TEMPDIR}/disk/tools/.git/config ] ; then
 			echo "Trying via http:"
 			git clone https://github.com/RobertCNelson/tools.git ${TEMPDIR}/disk/tools || true
@@ -606,7 +606,7 @@ boot_git_tools () {
 			echo "Debug: Adding BeagleBone drivers from: https://github.com/beagleboard/beaglebone-getting-started"
 			#Not planning to change these too often, once pulled, remove .git stuff...
 			mkdir -p ${TEMPDIR}/drivers/
-			git clone git://github.com/beagleboard/beaglebone-getting-started.git ${TEMPDIR}/drivers/ --depth 1
+			git clone https://github.com/beagleboard/beaglebone-getting-started.git ${TEMPDIR}/drivers/ --depth 1
 			if [ ! -f ${TEMPDIR}/drivers/.git/config ] ; then
 				git clone https://github.com/beagleboard/beaglebone-getting-started.git ${TEMPDIR}/drivers/ --depth 1
 			fi
-- 
GitLab