diff --git a/run-tests.sh b/run-tests.sh index afcb2cc5..f93a9085 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -27,8 +27,7 @@ if [[ ! -z "$CI" ]]; then else # Otherwise, assume MacOS… - OS=$(python -c "import sys; print(sys.platform)") - if [[ OS == "darwin" ]]; then + if [[ $(python -c "import sys; print(sys.platform)") == "darwin" ]]; then echo "Using RAM disk (assuming MacOS)…" RAM_DISK="/Volumes/RAMDisk"