From cf289b21a032ea9e81ab0f41df476d8b9ebe7008 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 18 Oct 2014 01:47:11 +0200 Subject: reproducible: sort scheduled package reverse --- bin/reproducible_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index a995ba51..3fe391ce 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -358,8 +358,8 @@ process_packages() { } gather_schedule_stats() { - SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM sources_scheduled ORDER BY date_scheduled DESC" | xargs echo) - COUNT_SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources_scheduled ORDER BY date_scheduled DESC" | xargs echo) + SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT name FROM sources_scheduled ORDER BY date_scheduled" | xargs echo) + COUNT_SCHEDULED=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT count(name) FROM sources_scheduled" | xargs echo) let "COUNT_NOTYET=AMOUNT-COUNT_TOTAL-COUNT_SCHEDULED" QUERY=" SELECT count(sources.name) FROM sources,source_packages WHERE sources.name NOT IN -- cgit v1.2.3-70-g09d2