Check all .gitignore files in simulat0r

This commit is contained in:
bernd 2011-08-04 13:52:51 +02:00
parent 7ab8a63a54
commit 9b7580777f
1 changed files with 10 additions and 7 deletions

View File

@ -45,10 +45,13 @@ do
fi fi
done done
if cmp firmware/.gitignore simulat0r/firmware/.gitignore;
then for i in `find firmware -type f -name .gitignore`; do
echo OK .gitignore is the same in firmware/ and simulat0r/firmware if cmp $i simulat0r/$i
else then
echo WARNING: .gitignore mismatch in firmware/ and simulat0r/firmware echo OK $i and simulat0r/$i are the same
diff -y firmware/.gitignore simulat0r/firmware/.gitignore else
fi echo WARNING: $i mismatches simulat0r/$i
diff -y $i simulat0r/$i
fi
done