summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 19:38:16 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-31 19:38:16 (GMT)
commit697f034f589e0cacaf01f57baa2b9015f7f3227d (patch)
tree341dcf148f3ff91aa56870780661140bf76418e3
parent1ed1a83f1c415a77ab23f74c7a909f331319facd (diff)
downloadbuildroot-697f034f589e0cacaf01f57baa2b9015f7f3227d.tar.gz
buildroot-697f034f589e0cacaf01f57baa2b9015f7f3227d.tar.bz2
pkg-stats: ensure infratype is reset for every package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-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 ca2d0ec..de73eeb 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