git.sh: unify am/submodule and tree copying

do it all in a single function!

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-01-01 15:02:34 +00:00
parent ce67c99f40
commit 48551ced3f
3 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ main()
elfdir="elf/${project}"
cfgsdir="config/${project}"
remkdir "${tmp_git_dir%/*}"
remkdir "${tmpgit%/*}"
check_project
_cmd="build_projects"