mirror of
https://github.com/macports/mpbb.git
synced 2026-07-12 18:18:44 -07:00
fix option variable name
This commit is contained in:
+3
-3
@@ -25,12 +25,12 @@ EOF
|
||||
test-port() {
|
||||
local args
|
||||
parseopt builtin-only "$@" || return
|
||||
# $option_builtin-only is set by parseopt
|
||||
# $option_builtin_only is set by parseopt
|
||||
# shellcheck disable=SC2154
|
||||
: "${option_builtin-only=0}"
|
||||
: "${option_builtin_only=0}"
|
||||
set -- ${args+"${args[@]}"}
|
||||
local test_run_flag
|
||||
[[ "${option_builtin-only}" -eq 1 ]] && test_run_flag="test.run=no"
|
||||
[[ "${option_builtin_only}" -eq 1 ]] && test_run_flag="test.run=no"
|
||||
local port=${1-}
|
||||
if [[ -z "$port" ]]; then
|
||||
err "Must specify a port"
|
||||
|
||||
Reference in New Issue
Block a user