summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-07 14:21:31 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-07 14:25:01 +0100
commit4b1b1f5098d9be3b14a2e1e4c01315ee756ce40b (patch)
treeee772bbb225c2498ad3e584d960bbbecadac4f32
parentd43247683b49e24bd01da6ac9b9676b6b0689568 (diff)
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>
-rwxr-xr-xinclude/git.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/git.sh b/include/git.sh
index 2ebefc71..4d2e9c07 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -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%/*}"