From 645caa1af595b82893e8bd72326b7966e5a43a8f Mon Sep 17 00:00:00 2001 From: jason_w Date: Mon, 8 Jan 2024 11:36:37 +0800 Subject: [PATCH] fix: fix argument parsing for 'APOLLO_OUTSIDE_DOCKER' --- scripts/apollo_base.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/apollo_base.sh b/scripts/apollo_base.sh index fe5ecddbd8e..9c2ebe69552 100755 --- a/scripts/apollo_base.sh +++ b/scripts/apollo_base.sh @@ -496,9 +496,6 @@ function parse_cmdline_arguments() { known_bazel_opt=1 ;; -o) - ((++pos)) - optarg="${!pos}" - known_options="${known_options} ${opt}" APOLLO_OUTSIDE_DOCKER=1 ;; -c)