Fix fused Switch build polluting GAME_LOVE path capture.

Route common.sh say() to stderr so sourcing it before pack_game_love does not
mix progress lines into command substitution output.
This commit is contained in:
Andrew Quenehen
2026-08-06 09:07:58 -03:00
parent 84e1a5177b
commit d08fce5fd5
+2 -1
View File
@@ -8,7 +8,8 @@ if [ -z "${ROOT:-}" ]; then
fi
export ROOT
say() { printf '\033[1;32m==>\033[0m %s\n' "$*"; }
# Progress on stderr so command-substitution (e.g. 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; }
# Print SHA-256 hex digest of PATH. Prefers shasum, falls back to sha256sum.