diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-28 16:34:45 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-28 16:34:45 +0000 |
commit | 34ded35fa616a323f582d3e942d7b49ac9beeef4 (patch) | |
tree | 54e988545c63c5e029da54e30d6a8dce272a90e5 /include | |
parent | 4e06779948744b3d7c09b3749ddc06e0b9e73732 (diff) |
lbmk scripts: general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-x | include/git.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/git.sh b/include/git.sh index 6184ba0c..b0ebc937 100755 --- a/include/git.sh +++ b/include/git.sh @@ -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 } |