mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
git.sh: provide feedback for repository downloads
otherwise, it's not clear to the operator what's happening i'm normally against such verbose feedback, because it's bloat, but this minimal amount of feedback will make the build system more pleasant to use, especially during testing. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -58,6 +58,8 @@ fetch_project_repo()
|
||||
[ -z "${url+x}" ] && $err "fetch_project_repo $project: url not set"
|
||||
|
||||
[ -z "$depend" ] || for d in $depend ; do
|
||||
printf "'%s' needs dependency '%s'; grabbing '%s' now\n" \
|
||||
"$project" "$d" "$d"
|
||||
x_ ./update trees -f $d
|
||||
done
|
||||
clone_project
|
||||
@@ -71,6 +73,8 @@ clone_project()
|
||||
{
|
||||
loc="${loc#src/}"
|
||||
loc="src/$loc"
|
||||
|
||||
printf "Downloading project '%s' to '%s'\n" "$project" "$loc"
|
||||
e "$loc" d && return 0
|
||||
|
||||
remkdir "${tmpgit%/*}"
|
||||
|
||||
Reference in New Issue
Block a user