From e897d7889e983a3f56b424fed101225c22f2e445 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 19 Aug 2015 19:56:10 +0200 Subject: reproducible: fix suite/arch pkg_state graphs --- bin/reproducible_html_dashboards.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_html_dashboards.sh') diff --git a/bin/reproducible_html_dashboards.sh b/bin/reproducible_html_dashboards.sh index a7bd37dd..586651d1 100755 --- a/bin/reproducible_html_dashboards.sh +++ b/bin/reproducible_html_dashboards.sh @@ -67,7 +67,7 @@ YLABEL[7]="Amount of bugs open / closed" # update package + build stats # update_suite_arch_stats() { - RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,suite from ${TABLE[0]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\"") + RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT datum,suite from ${TABLE[0]} WHERE datum = \"$DATE\" AND suite = \"$SUITE\" AND architecture = \"$ARCH\"") if [ -z $RESULT ] ; then echo "Updating packages and builds stats for $SUITE/$ARCH in $DATE." ALL=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT count(name) FROM sources WHERE suite='${SUITE}' AND architecture='$ARCH'") -- cgit v1.2.3-70-g09d2