Browse Source

pkg-stats: ensure infratype is reset for every package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 13 years ago
parent
commit
697f034f58
1 changed files with 1 additions and 0 deletions
  1. 1 0
      support/scripts/pkg-stats

+ 1 - 0
support/scripts/pkg-stats

@@ -105,6 +105,7 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
 
     hashost=0
     hastarget=0
+    infratype=""
 
     # Determine package infrastructure
     if grep -E "\(host-autotools-package\)" $i > /dev/null ; then