summaryrefslogtreecommitdiff
path: root/support/scripts/pkg-stats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 21:38:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 21:38:16 +0200
commit697f034f589e0cacaf01f57baa2b9015f7f3227d (patch)
tree341dcf148f3ff91aa56870780661140bf76418e3 /support/scripts/pkg-stats
parent1ed1a83f1c415a77ab23f74c7a909f331319facd (diff)
pkg-stats: ensure infratype is reset for every package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/scripts/pkg-stats')
-rwxr-xr-xsupport/scripts/pkg-stats1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index ca2d0ec5d..de73eeb27 100755
--- a/support/scripts/pkg-stats
+++ b/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