Fix upstream count check

This commit is contained in:
Pirate Praveen 2018-11-20 21:36:00 +05:30
parent 0eb002f4d7
commit 6ef141ac37

View file

@ -2,7 +2,7 @@
ucount=$(ls -1a |grep -vx .git | wc -l)
dcount=$(cat debian/gitlab.install |cut -d' ' -f1|grep -v debian |wc -l)
ignored=33
ignored=32
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/gitlab.install or adjust 'ignored=${ignored}'"