From c78c548752fa4853cc90ebfb3fdf62ec65aabace Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 12 Jan 2018 13:10:36 +0100 Subject: [PATCH] protobuf: delete old messages first --- tools/build_protobuf | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build_protobuf b/tools/build_protobuf index 668e80dbc..867d48ac4 100755 --- a/tools/build_protobuf +++ b/tools/build_protobuf @@ -4,6 +4,7 @@ PB2DIR=$CURDIR/pb2 OUTDIR=../trezorlib/messages INDEX=$OUTDIR/__init__.py +rm -f $OUTDIR/[A-Z]*.py mkdir -p $OUTDIR mkdir -p $PB2DIR touch $PB2DIR/__init__.py