Fixes #2793 - replace use of [[ conditionals by timgates42 · Pull Request #2794 · jetify-com/devbox

Summary

Fixes #2793 - use of zsh/bash conditionals in a file with a pure sh shebang.

How was it tested?

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.