ifspan> -z &;thenMY_SCRIPT_VARIABLE="Some default value because DEPLOY_ENV is undefined"elseMY_SCRIPT_VARIABLE="${DEPLOY_ENV}"fi# or using a short-hand versionspan> -z &&&MyVar='default'||MyVar="${DEPLOY_ENV}"# or even shorter useMyVar="${DEPLOY_ENV:-default_value}"