git.sh: condense fetch_targets() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
4772186b19
commit
5ba0433b5f
|
@ -11,11 +11,9 @@ fetch_targets()
|
|||
x_ ./update trees -f "$project" "$tree_depend"
|
||||
e "src/$project/$tree" d && return 0
|
||||
|
||||
|
||||
printf "Creating %s tree %s\n" "$project" "$tree"
|
||||
git_prep "$loc" "$loc" "$PWD/$cfgsdir/$tree/patches" \
|
||||
"${loc%/*}/$tree" u
|
||||
nuke "$project/$tree" "$project/$tree"
|
||||
"${loc%/*}/$tree" u; nuke "$project/$tree" "$project/$tree"
|
||||
}
|
||||
|
||||
fetch_project()
|
||||
|
|
Loading…
Reference in New Issue