diff options
Diffstat (limited to 'scripts/build-unix.sh')
-rwxr-xr-x | scripts/build-unix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-unix.sh b/scripts/build-unix.sh index ff1ce0f..24ab0f7 100755 --- a/scripts/build-unix.sh +++ b/scripts/build-unix.sh | |||
@@ -75,7 +75,7 @@ fi | |||
75 | # ----------------------------------------------------------------------------- | 75 | # ----------------------------------------------------------------------------- |
76 | # Ensure that the system dependencies are at the correct version - fail if not | 76 | # Ensure that the system dependencies are at the correct version - fail if not |
77 | # Check python version | 77 | # Check python version |
78 | EXPECTED_PYTHON_VERSION="3.10.4" | 78 | EXPECTED_PYTHON_VERSION=$(node -p 'require("./package.json").engines.python') |
79 | ACTUAL_PYTHON_VERSION=$(python --version | sed -e "s/Python //") | 79 | ACTUAL_PYTHON_VERSION=$(python --version | sed -e "s/Python //") |
80 | if [[ "$ACTUAL_PYTHON_VERSION" != "$EXPECTED_PYTHON_VERSION" ]]; then | 80 | if [[ "$ACTUAL_PYTHON_VERSION" != "$EXPECTED_PYTHON_VERSION" ]]; then |
81 | fail_with_docs "You are not running the expected version of Python! | 81 | fail_with_docs "You are not running the expected version of Python! |