Skip to content

Commit c75bcdb

Browse files
committed
Fixes error when using -P flag with generator
This patch fixes an error when using the -P flag with the generator to set the CAPI manager's log level. The getopts string was missing a : character after the P, and so the shell was saying OPTARG was an unbound variable since the -P flag didn't pick up its value.
1 parent c45a65d commit c75bcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ FLAGS
6262
EOF
6363
}
6464

65-
while getopts ':b:B:c:dfhi:m:M:r:o:p:P' opt; do
65+
while getopts ':b:B:c:dfhi:m:M:r:o:p:P:' opt; do
6666
case "${opt}" in
6767
b)
6868
CABPK_MANAGER_IMAGE="${OPTARG}"

0 commit comments

Comments
 (0)