From 835e5ad0e8c4394c7564ad7c92eff862edbabdbf Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 21 May 2024 18:09:41 +0100 Subject: 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 --- include/git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.1