aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2018-12-28 15:59:06 +0000
committerLeah Rowe <info@minifree.org>2018-12-28 15:59:06 +0000
commit0d9ffffe65344b0a598bfe3d91f394f42306869e (patch)
tree1d7fd8991a96c180f40ba32be0ed3962a2cc3239 /resources/scripts/helpers/download
parentba3469e03d71e64a4a09a40b91a50138580a367f (diff)
downloadlibrebootfr-0d9ffffe65344b0a598bfe3d91f394f42306869e.tar.gz
librebootfr-0d9ffffe65344b0a598bfe3d91f394f42306869e.zip
Add redundancy for seabios git clone in case the main git repository is offline
This modification has been made to both build systems.
Diffstat (limited to 'resources/scripts/helpers/download')
-rwxr-xr-xresources/scripts/helpers/download/seabios3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/download/seabios b/resources/scripts/helpers/download/seabios
index b773ec59..8e92618a 100755
--- a/resources/scripts/helpers/download/seabios
+++ b/resources/scripts/helpers/download/seabios
@@ -35,7 +35,8 @@ rm -rf "seabios/"
# ------------------------------------------------------------------------------
# download it using git
-git clone https://git.seabios.org/seabios.git seabios
+git clone https://git.seabios.org/seabios.git seabios || \
+git clone https://review.coreboot.org/cgit/seabios.git/ seabios
(
# modifications are required