From c139686c830b2beb18267e33e77f84435b8a2a2c Mon Sep 17 00:00:00 2001 From: Ryan Anderson Date: Wed, 21 Oct 2026 23:54:40 -0700 Subject: [PATCH] bundle-macos.sh: brace $APP before the ellipsis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit macOS's /bin/bash 3.2 in a UTF-8 locale reads the first byte of "…" as part of the variable name, so `echo "Assembling $APP…"` looked up an unset variable and `set -u` stopped the script after the build, before assembling the bundle. ${APP} ends the name where it should. It was the only variable followed directly by a non-ASCII character in scripts/ and linux/. Co-Authored-By: Claude Opus 5.5 --- scripts/bundle-macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bundle-macos.sh b/scripts/bundle-macos.sh index 3f4946c..2960194 100755 --- a/scripts/bundle-macos.sh +++ b/scripts/bundle-macos.sh @@ -36,7 +36,7 @@ BUILD=$(git rev-list --count HEAD 2>/dev/null || echo 1) echo "Building squawk $VERSION ($BUILD) in release…" cargo build --release -p squawk -echo "Assembling $APP…" +echo "Assembling ${APP}…" rm -rf "$APP" mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources" cp target/release/squawkctl "$APP/Contents/MacOS/Squawk"