From 69a93c36d84fe439bc1fd533d4922b6beaf94a85 Mon Sep 17 00:00:00 2001 From: Mitchell Tracy Date: Thu, 7 Mar 2024 10:03:17 -0500 Subject: [PATCH] use OSTYPE instead of uname --- avm-transpiler/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avm-transpiler/bootstrap.sh b/avm-transpiler/bootstrap.sh index 28d999a25dd..2b5e2b3b527 100755 --- a/avm-transpiler/bootstrap.sh +++ b/avm-transpiler/bootstrap.sh @@ -17,7 +17,7 @@ if [ -n "$CMD" ]; then fi # Attempt to just pull artefacts from CI and exit on success. -if [ "$(uname)" != "Darwin" ] && [ -n "${USE_CACHE:-}" ]; then +if [[ "$OSTYPE" != "darwin"* ]] && [ -n "${USE_CACHE:-}" ]; then ./bootstrap_cache.sh && exit fi