Commit b7b75b71 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Peter Korsgaard
Browse files

pkg-stats: cnt should start with 0



The package count, cnt, should start with an initial value of 0.  It
is incremented as each package *.mk file is checked.  Starting with a
value of 1 makes the first ID = 2 and results in the TOTAL being off
by 1.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 228bde4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ convert_to_generic_target=0
convert_to_generic_host=0
convert_to_autotools=0
total_patch_count=0
cnt=1
cnt=0
for i in $(find package/ -name '*.mk') ; do

    if test \