Bash Check if env variable present
Bash Check if env variable present
if [[ ! -z "$ENV_VAR" ]]; then
echo "Env var ENV_VAR is present with value $ENV_VAR"
fi
if [[ ! -z "$ENV_VAR" ]]; then
echo "Env var ENV_VAR is present with value $ENV_VAR"
fi