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;
for i in `find firmware -type f -name .gitignore`; do
if cmp $i simulat0r/$i
then then
echo OK .gitignore is the same in firmware/ and simulat0r/firmware echo OK $i and simulat0r/$i are the same
else else
echo WARNING: .gitignore mismatch in firmware/ and simulat0r/firmware echo WARNING: $i mismatches simulat0r/$i
diff -y firmware/.gitignore simulat0r/firmware/.gitignore diff -y $i simulat0r/$i
fi fi
done