get.sh: simplify fetch_submodules()

We are calling xbmkget in the same way, whether it's
a subfile or subrepo.

Rename these variables to subcurl and subgit, so that we
can call xbmkget unconditionally.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-14 16:38:10 +01:00
parent e9fe5a74a2
commit 21867b7d80
31 changed files with 69 additions and 71 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
subhash="47c993cba483ff23a4c7b866c6cedcc905e9a2bd"
subrepo="https://codeberg.org/libreboot/lbwww"
subrepo_bkup="https://git.disroot.org/libreboot/lbwww"
subgit="https://codeberg.org/libreboot/lbwww"
subgit_bkup="https://git.disroot.org/libreboot/lbwww"