From 868926374aa3358d849813d932813640dcbf2623 Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" Date: Wed, 10 May 2023 11:16:31 -0500 Subject: [PATCH] proto: clear out old ratelimit.tmp files before making new ones --- build-support/scripts/protobuf.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-support/scripts/protobuf.sh b/build-support/scripts/protobuf.sh index 0fe2bbecb2..420d66d6a1 100755 --- a/build-support/scripts/protobuf.sh +++ b/build-support/scripts/protobuf.sh @@ -45,6 +45,9 @@ function main { esac done + # clear old ratelimit.tmp files + find . -name .ratelimit.tmp -delete + local mods=$(find . -name 'buf.gen.yaml' -exec dirname {} \; | sort) for mod in $mods do