lbmk scripts: general code cleanup

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-12-28 16:34:45 +00:00
parent 4e06779948
commit 34ded35fa6
5 changed files with 19 additions and 45 deletions
+2 -4
View File
@@ -90,8 +90,7 @@ verify_config()
{
[ -z "${rev+x}" ] && err 'verify_config: rev not set'
[ -z "${loc+x}" ] && err 'verify_config: loc not set'
[ -z "${url+x}" ] && err 'verify_config: url not set'
return 0
[ -z "${url+x}" ] && err 'verify_config: url not set'; return 0
}
clone_project()
@@ -146,6 +145,5 @@ git_am_patches()
[ ! -d "${patches}" ] && continue
git_am_patches "${sdir}" "${patches}"
done
[ "${patchfail}" = "y" ] && return 1
return 0
[ "${patchfail}" = "y" ] && return 1; return 0
}