From b15c06001ee3103cd5b9970f071d2285ef885536 Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 31 Jul 2026 18:59:49 +0000 Subject: [PATCH] fix(installer): make install.sh compatible with macOS bash 3.2 ${value,,} is a bash-4 expansion; macOS ships bash 3.2, so install.sh died with 'bad substitution' before doing anything on every default mac shell. Caught by the PAP-14994 macos-14 e2e run. Co-Authored-By: Claude Fable 5 --- scripts/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 2eceb01031e..2a9a0c93c0c 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -66,7 +66,9 @@ parse_bool() { local name="$1" local value="${2:-}" - case "${value,,}" in + # ${value,,} requires bash 4; macOS ships bash 3.2, so lowercase portably. + value="$(printf '%s' "$value" | tr '[:upper:]' '[:lower:]')" + case "$value" in ""|0|false|no|off) printf '0' ;; 1|true|yes|on) printf '1' ;; *) fail "$name must be one of: 1, 0, true, false, yes, no, on, off" ;;