summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 02:31:54 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 02:31:54 +0100
commit0e97e98fe16baa2ac1c8b17bd054fd697e22f956 (patch)
tree889d6561182d1def5e020c61a6c47c610a82f932 /script/trees
parent7f7b640d3adc40265383c7138f78621612824972 (diff)
trees: explicitly set mode for -b
doing nothing means that if a flag is passed, and then another flag overriding it, the resulting action will not be correct; only one flag should be provided anyway, but some users may feel a bit more adventurous. mitigate it. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index 7f6f2f25..c3391f58 100755
--- a/script/trees
+++ b/script/trees
@@ -19,7 +19,7 @@ main()
while getopts f:b:m:u:c:x:s:l:n: option; do
_f="$1"
case "$1" in
- -b) : ;;
+ -b) mode="" ;;
-u) mode="oldconfig" ;;
-m) mode="menuconfig" ;;
-c) mode="distclean" ;;