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
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-3.0-or-later
subrepo="https://codeberg.org/libreboot/gnulib"
subrepo_bkup="git://git.sv.gnu.org/gnulib" # ALWAYS slow. only use as backup!
subgit="https://codeberg.org/libreboot/gnulib"
subgit_bkup="git://git.sv.gnu.org/gnulib" # ALWAYS slow. only use as backup!
subhash="9f48fb992a3d7e96610c4ce8be969cff2d61a01b"