mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
xbmk: tidy up some if statements
this is an extension of the previous work to unroll most of the condensed code lines. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-4
@@ -58,7 +58,6 @@ inject()
|
||||
if check_target; then
|
||||
patch_release
|
||||
fi
|
||||
|
||||
if [ "$xchanged" = "y" ]; then
|
||||
remktar
|
||||
fi
|
||||
@@ -149,9 +148,7 @@ patch_release()
|
||||
# prohibits direct exits. should probably return?
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -n "$new_mac" ] && [ -n "$CONFIG_GBE_BIN_PATH" ]; then
|
||||
elif [ -n "$new_mac" ] && [ -n "$CONFIG_GBE_BIN_PATH" ]; then
|
||||
modify_mac
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user