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
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ check()
|
||||||
FILES=""
|
FILES=""
|
||||||
|
|
||||||
if [ -d $TO_CHECK ]; then
|
if [ -d $TO_CHECK ]; then
|
||||||
|
rm -f "$TO_CHECK"/*.bak
|
||||||
for FILE in $TO_CHECK/*; do
|
for FILE in $TO_CHECK/*; do
|
||||||
FILES="$FILE $FILES"
|
FILES="$FILE $FILES"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue