From 882fefeb5e0e2f9d37da157a6543467a830f4bc0 Mon Sep 17 00:00:00 2001 From: Buddhaprakash Patil Date: Thu, 6 Aug 2026 00:29:14 +0530 Subject: [PATCH] fix(installer): strip quotes when reading env values on macOS read_env_value left surrounding double-quotes intact while sibling helpers stripped them, breaking == "cloud" / == "true" gates on quoted values. --- ods/installers/macos/lib/env-generator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ods/installers/macos/lib/env-generator.sh b/ods/installers/macos/lib/env-generator.sh index c97d50c88..3e2bee09b 100755 --- a/ods/installers/macos/lib/env-generator.sh +++ b/ods/installers/macos/lib/env-generator.sh @@ -36,7 +36,7 @@ read_env_value() { local env_path="$1" local key="$2" [[ -f "$env_path" ]] || { echo ""; return 0; } - grep -E "^${key}=" "$env_path" 2>/dev/null | sed -n '1p' | cut -d'=' -f2- | tr -d '\r' || true + grep -E "^${key}=" "$env_path" 2>/dev/null | sed -n '1p' | cut -d'=' -f2- | tr -d '\r"' || true } env_key_exists() {