Skip to content

Commit ebe2ddb

Browse files
fix generate.sh
1 parent 754a787 commit ebe2ddb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/cli-wrapper-gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def default_value(item):
7575

7676

7777
def split_value_range(value):
78-
return re.sub("\.\.", ', ', value)
78+
return re.sub("\\.\\.", ', ', value)
7979

8080

8181
def arg_value(item):

scripts/generate.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
PYTHON="$(command -v python)"
44
if [[ "${PYTHON}" == "" ]]; then
5-
PYTHON="$(comamnd -v python3)"
5+
PYTHON="$(command -v python3)"
66
fi
77

8+
${PYTHON} -m pip install jinja2 PyYAML
89
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
910
${PYTHON} "${SCRIPT_DIR}/cli-wrapper-gen.py" "${SCRIPT_DIR}/.."

0 commit comments

Comments
 (0)