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