Skip to content

Commit

Permalink
use OSTYPE instead of uname
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Mar 7, 2024
1 parent 3618a57 commit 69a93c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avm-transpiler/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 69a93c3

Please sign in to comment.