1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

tools/build_protobuf: don't compare __pycache__

This commit is contained in:
Pavol Rusnak 2020-08-08 20:14:15 +02:00
parent 1fc6c80b5d
commit 90f23afb72
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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"