mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
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>
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ main()
|
|||||||
while getopts f:b:m:u:c:x:s:l:n: option; do
|
while getopts f:b:m:u:c:x:s:l:n: option; do
|
||||||
_f="$1"
|
_f="$1"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-b) : ;;
|
-b) mode="" ;;
|
||||||
-u) mode="oldconfig" ;;
|
-u) mode="oldconfig" ;;
|
||||||
-m) mode="menuconfig" ;;
|
-m) mode="menuconfig" ;;
|
||||||
-c) mode="distclean" ;;
|
-c) mode="distclean" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user