mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 19:26:22 +02:00
git.sh: remove another meaningless check
again, the directory in question is simply used in a for loop using asterisk (git_am_patches) and the for loop simply won't iterate if either the directory doesn't exist or it contains no items. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -121,7 +121,6 @@ patch_submodules()
|
|||||||
{
|
{
|
||||||
mdir="${PWD}/config/submodule/$project"
|
mdir="${PWD}/config/submodule/$project"
|
||||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||||
[ -d "$mdir" ] || return 0
|
|
||||||
|
|
||||||
git -C "$tmpgit" submodule status | awk '{print $2}' > \
|
git -C "$tmpgit" submodule status | awk '{print $2}' > \
|
||||||
"$tmpdir/modules" || $err "$mdir: cannot list submodules"
|
"$tmpdir/modules" || $err "$mdir: cannot list submodules"
|
||||||
|
|||||||
Reference in New Issue
Block a user