Use /bin/sh friendly condition in env.sh (#3013)

This commit is contained in:
Hynek Vychodil 2025-06-04 22:33:35 +02:00 committed by GitHub
parent c1a55e15a7
commit e2d87fd569
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
if [[ "$RELEASE_COMMAND" == "rpc" || "$RELEASE_COMMAND" == "remote" ]]; then
if [ "$RELEASE_COMMAND" = "rpc" ] || [ "$RELEASE_COMMAND" = "remote" ]; then
export RELEASE_DISTRIBUTION="name"
if [ ! -z "${LIVEBOOK_NODE}" ]; then export RELEASE_NODE=${LIVEBOOK_NODE}; fi
if [ ! -z "${LIVEBOOK_COOKIE}" ]; then export RELEASE_COOKIE=${LIVEBOOK_COOKIE}; fi