summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 19:59:16 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 19:59:16 +0100
commit7bf28352078951e9eb78ec1aa467346031c8628e (patch)
tree0ed1f76dcfce47f46e8c89ad3672b87277fa38b7
parente0c244f37b1c267cf8defd6e060e6ed3695c547f (diff)
git.sh: rename Fetch_project_trees fetch_targets
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/git.sh2
-rwxr-xr-xscript/trees2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index 3802e316..f65fe85e 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -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" \
diff --git a/script/trees b/script/trees
index 02ab95a0..304c7524 100755
--- a/script/trees
+++ b/script/trees
@@ -127,7 +127,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