exclude .git from upstream file count

This commit is contained in:
Pirate Praveen 2017-12-13 10:48:53 +05:30
parent 43fd2404bf
commit af2d9e8d7a

View file

@ -1,6 +1,6 @@
ucount=$(ls -1a | wc -l)
ucount=$(ls -1a |grep -vx .git | wc -l)
dcount=$(cat debian/install |cut -d' ' -f1|grep -v debian |wc -l)
ignored=29
ignored=28
if ! [ $(echo "$ucount" - "$dcount"|bc) -eq $ignored ]; then
echo "Found new files added by upstream and not added to debian/install"
echo "Add them to debian/install or adjust 'ignored=${ignored}'"