diff options
author | Leah Rowe <leah@libreboot.org> | 2025-09-26 00:09:46 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-09-26 00:09:46 +0100 |
commit | e42cb4f4cd513f512397ff7a46b6174b39a9708e (patch) | |
tree | ab6ba25c737cfa17ed6bc6eb9e1c4f5419ff892b /include/inject.sh | |
parent | f5060232e16ab1c041f0108a5f65d8f96f79756d (diff) |
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>
Diffstat (limited to 'include/inject.sh')
-rw-r--r-- | include/inject.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/inject.sh b/include/inject.sh index cd5be73b..bc47d23e 100644 --- a/include/inject.sh +++ b/include/inject.sh @@ -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 } |