pkg-stats: ensure infratype is reset for every package
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 31 Jul 2012 19:38:16 +0000 (21:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 31 Jul 2012 19:38:16 +0000 (21:38 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/pkg-stats

index ca2d0ec5d430a48fd940db5d9fa65ba862e21afd..de73eeb27087c334fded00b0541b1ed1526cea2e 100755 (executable)
@@ -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