update the fetch scripts themselves
the fetch scripts call themselves, for dependencies Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
98f30b6dbe
commit
0e782e7ee5
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue