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>
audit6
Leah Rowe 2024-06-27 14:52:28 +01:00
parent 9aec992ff2
commit eb9c1872b6
1 changed files with 1 additions and 2 deletions

View File

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