summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-20 01:15:06 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-20 01:15:06 +0100
commit808458ced5bcc5131d542e7e2fcb8120a613c8eb (patch)
tree395156e0d4d2658e0184c2a29077b39e579f8c82 /include/git.sh
parent4ab99d546e4b67e0394a2bb34c004c46d16ff893 (diff)
minor code cleanup in the build system
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/git.sh b/include/git.sh
index 2f9359c9..476dd2b6 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -57,15 +57,13 @@ fetch_project_repo()
[ -n "$xtree" ] && [ ! -d "src/coreboot/$xtree" ] && \
x_ ./update trees -f coreboot "$xtree"
[ -z "$depend" ] || for d in $depend ; do
- printf "'%s' needs dependency '%s'; grabbing '%s' now\n" \
- "$project" "$d" "$d"
+ printf "'%s' needs '%s'; grabbing '%s'\n" "$project" "$d" "$d"
x_ ./update trees -f $d
done
clone_project
for x in config/git/*; do
- [ -f "$x" ] && nuke "${x##*/}" "src/${x##*/}" 2>/dev/null; \
- continue
+ [ -f "$x" ] && nuke "${x##*/}" "src/${x##*/}" 2>/dev/null
done
}