summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-27 12:19:56 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-27 12:19:56 +0100
commitbdd42c0f32facffd0a0fb8b82851ba0dc1a8bd07 (patch)
tree2c65d05ed73fa1466a06acf308e23f4e17f117c3
parentf8444a879594d498a6304ca7e22f7971ecc5830b (diff)
tree.sh: simplify handle_defconfig()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/tree.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tree.sh b/include/tree.sh
index 86779733..fec9568e 100644
--- a/include/tree.sh
+++ b/include/tree.sh
@@ -117,8 +117,7 @@ handle_defconfig()
[ "$_f" = "-d" ] || defconfig="$y"
[ -n "$mode" ] || check_defconfig || continue
- handle_makefile
- [ -n "$mode" ] || $dry copy_elf
+ handle_makefile && [ -z "$mode" ] && $dry copy_elf; :
done; :
}