diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-12-09 09:29:23 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-12-09 11:45:47 +0530 |
commit | cdbec08f5a967220ba0375dbc6e683134d73f95f (patch) | |
tree | 7c39e51ce0dedab30f0c77960331b6b4fccb438a /scripts/build-unix.sh | |
parent | Update 'recipes' submodule (diff) | |
download | ferdium-server-cdbec08f5a967220ba0375dbc6e683134d73f95f.tar.gz ferdium-server-cdbec08f5a967220ba0375dbc6e683134d73f95f.tar.zst ferdium-server-cdbec08f5a967220ba0375dbc6e683134d73f95f.zip |
Add 'python' dependency for compiling native libs
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! |