Win Script test for blob level

This commit is contained in:
bleeptrack 2020-09-10 12:03:46 +02:00
parent 75679c8bb1
commit 39d952528f
3 changed files with 18 additions and 2 deletions
levels/01-blob

7
levels/01-blob/win Normal file
View file

@ -0,0 +1,7 @@
BLOB_COUNT=$(git cat-file --batch-check='%(objectname) %(objecttype)' --batch-all-objects | grep blob | wc -l)
if [ "$BLOB_COUNT" -gt 2 ]; then
echo yes
else
echo no
fi