mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
xbmk: general cleanup: unroll condensed code lines
i overlooked a number of lines, during previous cleanup Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+7
-2
@@ -58,7 +58,9 @@ inject()
|
||||
|
||||
check_release
|
||||
if check_target; then
|
||||
patch_release || return 0
|
||||
if ! patch_release; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
if [ "$xchanged" = "y" ]; then
|
||||
remktar
|
||||
@@ -141,6 +143,7 @@ patch_release()
|
||||
if e "$tmpromdir/$_hashes" f; then
|
||||
has_hashes="y"
|
||||
hashfile="$_hashes"
|
||||
|
||||
break
|
||||
fi
|
||||
done
|
||||
@@ -159,7 +162,9 @@ readkconfig()
|
||||
fx_ scankconfig x_ find "$boarddir/config" -type f
|
||||
eval "`setcfg "$xbtmp/cbcfg" 1`"
|
||||
|
||||
setvfile "$@" || return 1; :
|
||||
if ! setvfile "$@"; then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
scankconfig()
|
||||
|
||||
Reference in New Issue
Block a user