git.sh: rename Fetch_project_trees fetch_targets
Signed-off-by: Leah Rowe <leah@libreboot.org>audit6
parent
e0c244f37b
commit
7bf2835207
|
@ -5,7 +5,7 @@
|
||||||
eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree mdir \
|
eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree mdir \
|
||||||
subhash subrepo subrepo_bkup subfile subfile_bkup`
|
subhash subrepo subrepo_bkup subfile subfile_bkup`
|
||||||
|
|
||||||
fetch_project_trees()
|
fetch_targets()
|
||||||
{
|
{
|
||||||
_target="$target"
|
_target="$target"
|
||||||
[ ! -d "src/$project/$project" ] && x_ mkdir -p "src/$project" \
|
[ ! -d "src/$project/$project" ] && x_ mkdir -p "src/$project" \
|
||||||
|
|
|
@ -127,7 +127,7 @@ handle_src_tree()
|
||||||
target_dir="$cfgsdir/$target"
|
target_dir="$cfgsdir/$target"
|
||||||
if [ "$mode" = "fetch" ]; then
|
if [ "$mode" = "fetch" ]; then
|
||||||
[ -f "CHANGELOG" ] && return 1
|
[ -f "CHANGELOG" ] && return 1
|
||||||
fetch_project_trees; return 1
|
fetch_targets; return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
load_project_config "$target_dir" || return 1
|
load_project_config "$target_dir" || return 1
|
||||||
|
|
Loading…
Reference in New Issue