exclude .git from upstream file count
This commit is contained in:
parent
43fd2404bf
commit
af2d9e8d7a
1 changed files with 2 additions and 2 deletions
4
debian/upstream-file-count-check.sh
vendored
4
debian/upstream-file-count-check.sh
vendored
|
@ -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}'"
|
||||
|
|
Loading…
Reference in a new issue