Skip to content

Commit 1d496d1

Browse files
author
Kyr Shatskyy
committed
bootstrap: fix syntax error
This patch addresses the error in the logs, like this: Using python: python3.12 /usr/bin/lsb_release Deleting existing virtual environment Creating new venv at ./virtualenv ./bootstrap: line 131: [: missing `]' ./bootstrap: line 131: 12: command not found Fixes: 0b5a5bc Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
1 parent 382c6d9 commit 1d496d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ PY_MAJOR=$($VENV/bin/python -c "import sys; print(sys.version_info[0])")
128128
PY_MINOR=$($VENV/bin/python -c "import sys; print(sys.version_info[1])")
129129

130130
# Python version check
131-
if [ "$PY_MAJOR" -ne 3 || "$PY_MINOR" -lt 10 ]; then
131+
if [[ "$PY_MAJOR" -ne 3 || "$PY_MINOR" -lt 10 ]]; then
132132
echo "Python version should be 3.10 or higher, found $PY_MAJOR.$PY_MINOR"
133133
exit 1
134134
fi

0 commit comments

Comments
 (0)