From 49c0a1f8487c160fe6b86323e2b05a4b2783d8e6 Mon Sep 17 00:00:00 2001 From: Oliver Hofmann Date: Sat, 6 Jun 2026 16:54:17 +0200 Subject: [PATCH] fix: prevent set -e from killing build when grep finds no matches --- installer/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/build.sh b/installer/build.sh index 9652471..b982f10 100755 --- a/installer/build.sh +++ b/installer/build.sh @@ -19,7 +19,7 @@ chmod 755 installer/root/usr/libexec/cups/filter/kyofilter echo "Validating PPD..." UNEXPECTED=$(cupstestppd installer/root/Library/Printers/PPDs/Contents/Resources/TA3505ci_AS.ppd 2>&1 \ | grep "\*\*FAIL\*\*" \ - | grep -v "FeedingEdgeConstraint\|kyofilter\|Übersetzungsstring\|Übersetzung") + | grep -v "FeedingEdgeConstraint\|kyofilter\|Übersetzungsstring\|Übersetzung") || true if [ -n "$UNEXPECTED" ]; then echo "ERROR: PPD has unexpected structural errors:" >&2 echo "$UNEXPECTED" >&2