summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-01 09:38:24 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-01 09:38:24 +0100
commit0e782e7ee502fc625b8d69acff8f15417ebaf768 (patch)
tree1d39262b62b94bb9406aad6a0f02dc7d4d5d132e /script/update
parent98f30b6dbe7ef38af543d571c333b54ad2709ad4 (diff)
update the fetch scripts themselves
the fetch scripts call themselves, for dependencies Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/project/repo4
-rwxr-xr-xscript/update/project/trees2
2 files changed, 3 insertions, 3 deletions
diff --git a/script/update/project/repo b/script/update/project/repo
index 270d6cb9..91696586 100755
--- a/script/update/project/repo
+++ b/script/update/project/repo
@@ -33,7 +33,7 @@ main()
verify_config
clone_project
- [ "${depend}" = "" ] || ./fetch ${depend} || \
+ [ "${depend}" = "" ] || ./update project repo ${depend} || \
fail "Cannot fetch dependency, ${depend}, for project, ${name}"
rm -Rf "${tmp_dir}" || fail "cannot remove tmpdir, ${tmp_dir}"
@@ -114,7 +114,7 @@ fail()
usage()
{
cat <<- EOF
- Usage: ./fetch [name]
+ Usage: ./update project repo [name]
Options:
name: Module name as specified in resources/git/revisions
diff --git a/script/update/project/trees b/script/update/project/trees
index 20bc1587..c4290294 100755
--- a/script/update/project/trees
+++ b/script/update/project/trees
@@ -151,7 +151,7 @@ fetch_from_upstream()
[ -d "${project}" ] || return 1
[ -d "${project}/${project}" ] && return 0
- ./fetch ${project} || return 1
+ ./update project repo ${project} || return 1
}
prepare_new_tree()