summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 14:52:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 14:52:28 +0100
commiteb9c1872b6e66bed49c267125daeb1c060f4f392 (patch)
tree5a03f762d9223febda450e03b1cf311f74bc1c47 /include/git.sh
parent9aec992ff20955b2e1282338e041d6ed452e559a (diff)
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>
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git.sh b/include/git.sh
index e0eb196b..d13d20d2 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -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