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