From fe176e9ee705fef5ca878cc08fddf19fe863b5b2 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 31 May 2024 14:26:39 +0800 Subject: [PATCH] don't finish when packages are skipped --- lilac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lilac b/lilac index 11113c4..74db664 100755 --- a/lilac +++ b/lilac @@ -269,8 +269,8 @@ def start_build( build_it, pkg, repo, buildsorter, built, failed) futures[fu] = pkg - if not futures: - # no task is running: we're done + if not pkgs and not futures: + # no more packages and no task is running: we're done break done, pending = futures_wait(futures, return_when=FIRST_COMPLETED)