summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-29 19:58:03 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-29 19:58:03 +0100
commite0c244f37b1c267cf8defd6e060e6ed3695c547f (patch)
tree4b3cb433298630caeb18b55910a2b987e83ced4f
parent02f7417952063150fc6071427b23384082333b7d (diff)
git.sh: rename fetch_project_repo to fetch_project
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/git.sh4
-rwxr-xr-xscript/trees2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh
index 6818578b..3802e316 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -9,7 +9,7 @@ fetch_project_trees()
{
_target="$target"
[ ! -d "src/$project/$project" ] && x_ mkdir -p "src/$project" \
- && fetch_project_repo "$project"
+ && fetch_project "$project"
fetch_config
e "src/$project/$tree" d || prepare_new_tree; return 0
}
@@ -44,7 +44,7 @@ prepare_new_tree()
nuke "$project/$tree" "$project/$tree"
}
-fetch_project_repo()
+fetch_project()
{
eval `setvars "" xtree tree_depend`
eval `setcfg "config/git/$project/pkg.cfg"`
diff --git a/script/trees b/script/trees
index da6069eb..02ab95a0 100755
--- a/script/trees
+++ b/script/trees
@@ -59,7 +59,7 @@ build_project()
{
if [ "$mode" = "fetch" ]; then
[ -f "CHANGELOG" ] && return 0
- fetch_project_repo; return 0
+ fetch_project; return 0
fi
load_project_config "$cfgsdir" 0 || return 0