summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/trees b/script/trees
index fd14b099..ce590bdd 100755
--- a/script/trees
+++ b/script/trees
@@ -190,8 +190,7 @@ check_coreboot_utils()
utilelfdir="elf/$util/$1"
utilsrcdir="src/coreboot/$1/util/$util"
- utilmode=""
- [ -z "$mode" ] || utilmode="clean"
+ utilmode="" && [ -n "$mode" ] && utilmode="clean"
x_ make -C "$utilsrcdir" $utilmode -j$XBMK_THREADS $cbmakeargs
[ -z "$mode" ] && [ ! -f "$utilelfdir/$util" ] && \
x_ mkdir -p "$utilelfdir" && \