From c4c0cab427df5d014852641984f05f8438e4d9db Mon Sep 17 00:00:00 2001 From: Ryan Wenger <59625987+rawenger@users.noreply.github.com> Date: Wed, 5 Apr 2023 10:01:07 -0700 Subject: [PATCH] Check for any non-Linux platform rather than just macOS Many other *Nix platforms besides macOS/Darwin and Linux exist; since these ML models are meant to be Linux-only, we replace the check for Darwin with a check for any non-Linux OS. --- images/init_venv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/init_venv.sh b/images/init_venv.sh index fa6f37d..85fa873 100755 --- a/images/init_venv.sh +++ b/images/init_venv.sh @@ -1,6 +1,6 @@ #! /bin/sh -if [[ "$(uname)" == "Darwin" ]]; then +if [[ "$(uname)" != "Linux" ]]; then echo "Only supported on Linux." exit 1 fi