From 2a038f71126e73bbd8f7b08b089ffe064b4b57ae Mon Sep 17 00:00:00 2001 From: Andrew Quenehen Date: Sat, 1 Aug 2026 15:27:24 -0300 Subject: [PATCH] fix(switch): send build progress to stderr during love packing Keep pack_game_love command-substitution returning only the archive path. Co-authored-by: Cursor --- scripts/build_switch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build_switch.sh b/scripts/build_switch.sh index 13290e7c..91dbdf58 100755 --- a/scripts/build_switch.sh +++ b/scripts/build_switch.sh @@ -41,7 +41,8 @@ FETCH=0 GAME_LOVE="" VERSION="$(git -C "$ROOT" rev-parse --short HEAD 2>/dev/null || echo dev)" -say() { printf '\033[1;32m==>\033[0m %s\n' "$*"; } +# Progress on stderr so command-substitution of pack_game_love stays a bare path. +say() { printf '\033[1;32m==>\033[0m %s\n' "$*" >&2; } fail() { printf '\033[1;31merror:\033[0m %s\n' "$*" >&2; exit 1; } usage() {