From 90f23afb722fb2edf9f4622207467dfd6e5c9850 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 8 Aug 2020 20:14:15 +0200 Subject: [PATCH] tools/build_protobuf: don't compare __pycache__ --- tools/build_protobuf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_protobuf b/tools/build_protobuf index 91581c444..293c49f25 100755 --- a/tools/build_protobuf +++ b/tools/build_protobuf @@ -99,7 +99,7 @@ do_check() { cp -rT "$DESTDIR" "$TMPDIR" do_rebuild "$TMPDIR" "$@" - DIFF=$(diff -ur "$DESTDIR" "$TMPDIR") + DIFF=$(diff -ur --exclude __pycache__ "$DESTDIR" "$TMPDIR") rm -r "$TMPDIR" if [ -n "$DIFF" ]; then echo "$DIFF"