mirror of
https://github.com/twitter/the-algorithm-ml.git
synced 2024-12-23 06:41:49 +01:00
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.
This commit is contained in:
parent
78c3235eee
commit
c4c0cab427
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
if [[ "$(uname)" != "Linux" ]]; then
|
||||
echo "Only supported on Linux."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user