firefox: fix flaky dylib check due to SIGPIPE race (#540753)

This commit is contained in:
Ihar Hrachyshka
2026-07-20 23:22:12 +00:00
committed by GitHub
@@ -435,7 +435,7 @@ let
;;
*)
# Copy if the symlink resolves to a Mach-O dylib
otool -l "$file" 2>/dev/null | grep -q 'LC_ID_DYLIB' || continue
otool -l "$file" 2>/dev/null | grep -F 'LC_ID_DYLIB' >/dev/null || continue
;;
esac