From 34bac330c6cd9259bbfda19afe075fa85154648b Mon Sep 17 00:00:00 2001 From: "OpenGenesis (MPL 2.0)" <153564363+opengenesislink@users.noreply.github.com> Date: Wed, 21 Oct 2026 15:39:37 +0200 Subject: [PATCH] fix(build): use correctly escaped Go-source pattern --- scripts/build-pi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-pi.sh b/scripts/build-pi.sh index 45f55fd..3f5b9de 100755 --- a/scripts/build-pi.sh +++ b/scripts/build-pi.sh @@ -8,9 +8,9 @@ cd "$ROOT_DIR" # A stale local source (e.g. destination_one.go) can break an otherwise green CI. # Refuse to build instead of silently deleting potentially valuable local work. if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then - EXTRA_GO="$(git ls-files --others --exclude-standard -- '*.go' | grep -E '^[^/]+\\.go$' || true)" + EXTRA_GO="$(git ls-files --others --exclude-standard -- '*.go' | grep -E '^[^/]+\.go$' || true)" if [[ -n "$EXTRA_GO" ]]; then - printf 'Build abgebrochen: nicht versionierte Go-Dateien im Projektverzeichnis:\\n%s\\n' "$EXTRA_GO" >&2 + printf 'Build abgebrochen: nicht versionierte Go-Dateien im Projektverzeichnis:\n%s\n' "$EXTRA_GO" >&2 echo "Bitte Dateien sichern und aus dem Projektverzeichnis verschieben, bevor du neu baust." >&2 exit 1 fi