diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-21 18:09:41 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-21 18:09:41 +0100 |
commit | 835e5ad0e8c4394c7564ad7c92eff862edbabdbf (patch) | |
tree | 21522ccaffd07a7a1b695de55eabf104b6938fce /include/git.sh | |
parent | 1e54db29897786ff49b8ff228ed0b2fbdd8b70dc (diff) |
git.sh: fix invalid command in git_prep()
"./update project trees" is a leftover from the
old build system design, prior to audits.
this particular call is for when xtree is defined,
which means that a given tree must rely on the given
coreboot tree defined by xtree. the "xtree" tree is
downloaded, so that its crossgcc builds can be re-used
to save time when building targets across many trees.
this is because trees often use identical crossgcc builds.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-x | include/git.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh index 91ccf179..934976eb 100755 --- a/include/git.sh +++ b/include/git.sh @@ -114,7 +114,7 @@ git_prep() [ "$_loc" = "${_loc%/*}" ] || x_ mkdir -p "${_loc%/*}" mv "$tmpgit" "$_loc" || $err "git_prep: !mv $tmpgit $_loc" [ -n "$xtree" ] && [ ! -d "src/coreboot/$xtree" ] && \ - x_ ./update project trees -f coreboot "$xtree"; return 0 + x_ ./update trees -f coreboot "$xtree"; return 0 } patch_submodules() |