aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/build-unix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-unix.sh')
-rwxr-xr-xscripts/build-unix.sh2
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
78EXPECTED_PYTHON_VERSION="3.10.4" 78EXPECTED_PYTHON_VERSION=$(node -p 'require("./package.json").engines.python')
79ACTUAL_PYTHON_VERSION=$(python --version | sed -e "s/Python //") 79ACTUAL_PYTHON_VERSION=$(python --version | sed -e "s/Python //")
80if [[ "$ACTUAL_PYTHON_VERSION" != "$EXPECTED_PYTHON_VERSION" ]]; then 80if [[ "$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!