mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
git.sh git_am_patches: reduce indentation
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+3
-4
@@ -151,10 +151,9 @@ git_am_patches()
|
|||||||
[ -L "${patch}" ] && continue
|
[ -L "${patch}" ] && continue
|
||||||
[ -f "${patch}" ] || continue
|
[ -f "${patch}" ] || continue
|
||||||
git am "${patch}" || patchfail="y"
|
git am "${patch}" || patchfail="y"
|
||||||
if [ "${patchfail}" = "y" ]; then
|
[ "${patchfail}" != "y" ] && continue
|
||||||
git am --abort || err "${sdir}: !git am --abort"
|
git am --abort || err "${sdir}: !git am --abort"
|
||||||
err "!git am ${patch} -> ${sdir}"
|
err "!git am ${patch} -> ${sdir}"
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
) || err "PATCH FAILURE"
|
) || err "PATCH FAILURE"
|
||||||
for patches in "${patchdir}/"*; do
|
for patches in "${patchdir}/"*; do
|
||||||
|
|||||||
Reference in New Issue
Block a user