aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2011-10-05 11:47:54 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-05 19:08:42 +0200
commitb7b75b71679a03d92850890e1980d7e3cc42b096 (patch)
tree7aab3b83e084e12550497889c7db0c9617eaec89 /support
parent228bde4dbe81254785ffa9986c81c79f5567c241 (diff)
downloadbuildroot-novena-b7b75b71679a03d92850890e1980d7e3cc42b096.tar.gz
buildroot-novena-b7b75b71679a03d92850890e1980d7e3cc42b096.zip
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: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/pkg-stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 8602b0f95..3e89bd14b 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -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 \