From d0113b46ea2f2a83c08ae23f14dc8d065e1e8d02 Mon Sep 17 00:00:00 2001 From: carlosgmartin Date: Sun, 22 Sep 2024 23:18:18 -0400 Subject: [PATCH] Fix test.sh, which uses nounset, so that it works when JAX_VERSION is unset. --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 07eb238b..4781f4c3 100755 --- a/test.sh +++ b/test.sh @@ -42,7 +42,7 @@ pip install -q -e ".[dp-accounting]" pip install -q "dp-accounting>=0.1.1" --no-deps # Install the requested JAX version -if [ "$JAX_VERSION" = "" ]; then +if [ -z "${JAX_VERSION-}" ]; then : # use version installed in requirements above elif [ "$JAX_VERSION" = "newest" ]; then pip install -U jax jaxlib