From b09dc605207d13f42bc3085fcd4a518c092c731a Mon Sep 17 00:00:00 2001 From: Neucrack Date: Thu, 31 Oct 2024 19:22:33 +0800 Subject: [PATCH] fix gen_os arg bug --- tools/os/gen_os.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/os/gen_os.sh b/tools/os/gen_os.sh index 4cf9d598..35a404a8 100755 --- a/tools/os/gen_os.sh +++ b/tools/os/gen_os.sh @@ -22,7 +22,7 @@ function usage() { } param_count=$# -if [ "$param_count" -ne 4 ] && [ "$param_count" -ne 5 ] && [ "$param_count" -ne 6 ]; then +if [ "$param_count" -ne 3 ] && [ "$param_count" -ne 4 ] && [ "$param_count" -ne 5 ]; then usage exit 1 fi