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:
parent
539f1432cd
commit
e2f476e0fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user