Avoid creating visualc/VS2010/*.bak.bak files

This could happen if a previous run of check-generated-files failed.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-05-18 15:47:55 +02:00
parent 539f1432cd
commit e2f476e0fd

View File

@ -52,6 +52,7 @@ check()
FILES=""
if [ -d $TO_CHECK ]; then
rm -f "$TO_CHECK"/*.bak
for FILE in $TO_CHECK/*; do
FILES="$FILE $FILES"
done