diff options
-rwxr-xr-x | bin/reproducible_common.sh | 4 |
1 files 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 |