git.sh: rename Fetch_project_trees fetch_targets

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-29 19:59:16 +01:00 committed by Leah Rowe
parent 626fd9f245
commit 0f7a5c27dc
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree mdir \
subhash subrepo subrepo_bkup subfile subfile_bkup`
fetch_project_trees()
fetch_targets()
{
_target="$target"
[ ! -d "src/$project/$project" ] && x_ mkdir -p "src/$project" \

View File

@ -125,7 +125,7 @@ handle_src_tree()
target_dir="$cfgsdir/$target"
if [ "$mode" = "fetch" ]; then
[ -f "CHANGELOG" ] && return 1
fetch_project_trees; return 1
fetch_targets; return 1
fi
load_project_config "$target_dir" || return 1