summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-25 00:18:40 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-25 00:18:40 +0100
commitff0840bdf8c85d48029bd4a63504f393d2dd6854 (patch)
tree1db2687543cd08a3e23c45895f860b40788bfc48 /script
parentb91ee727621ac67176d54e9622b37a25fca7131f (diff)
trees: write -C on the make command first not last
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index f4a3bf82..dba3e0f7 100755
--- a/script/trees
+++ b/script/trees
@@ -215,7 +215,7 @@ run_make_command()
[ "$project" = "coreboot" ] && [ -z "$mode" ] && x_ \
printf "%s\n" "${version%%-*}" > "$codedir/.coreboot-version"
- make $mode -j$threads $makeargs -C "$codedir" || \
+ make -C "$codedir" $mode -j$threads $makeargs || \
$err "run_make $codedir: !make $mode"
[ "$mode" != "clean" ] && return 0