mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
include/git: fix error caused by sh idiosyncrasy
when [] is used right at the end of a function, or certain loops/subshells, some sh implementations will just return a non-zero exit Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-1
@@ -141,6 +141,7 @@ git_am_patches()
|
||||
)
|
||||
for patches in "${patchdir}/"*; do
|
||||
[ -L "${patches}" ] && continue
|
||||
[ -d "${patches}" ] && git_am_patches "${sdir}" "${patches}"
|
||||
[ ! -d "${patches}" ] && continue
|
||||
git_am_patches "${sdir}" "${patches}"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user