git.sh: remove unnecessary check

the trees script itself will check that the directory
exists, and exit with zero status if it does, without
doing anything else other than the return.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-27 14:52:28 +01:00 committed by Leah Rowe
parent f3baebe7e1
commit ce9b2f0a1c
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ fetch_project_repo()
chkvars url
[ -n "$xtree" ] && [ ! -d "src/coreboot/$xtree" ] && \
x_ ./update trees -f coreboot "$xtree"
[ -n "$xtree" ] && x_ ./update trees -f coreboot "$xtree"
[ -z "$depend" ] || for d in $depend ; do
printf "'%s' needs '%s'; grabbing '%s'\n" "$project" "$d" "$d"
x_ ./update trees -f $d