update the fetch scripts themselves

the fetch scripts call themselves, for dependencies

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-01 09:38:24 +01:00
parent 98f30b6dbe
commit 0e782e7ee5
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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()