From 8e25f6d14a4a91ee48a6c1f39274c672ba60b44b Mon Sep 17 00:00:00 2001 From: psykose <alice@ayaya.dev> Date: Thu, 22 Jun 2023 20:40:38 +0000 Subject: [PATCH] checkapk: undo broken parallel thing this doesn't work for setting lvalues and *size= is never populated todo: write tests.., or just port this to lua --- checkapk.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/checkapk.in b/checkapk.in index 12d48178..5a6c3f22 100644 --- a/checkapk.in +++ b/checkapk.in @@ -78,10 +78,9 @@ for i in $pkgname $subpackages; do # For our local repo (newsize) apk info might return multiple packages, e.g. if different # version of the package where build previously. Filter out this specific pkgver using awk. newsize=$(apk info --repositories-file /dev/null --repository "$REPODEST"/$repo --size $_pkgname | \ - awk "/^${pkg//+/\\+}/ { found = 1 } /^[0-9]+/ { if (found) { print \$0; exit } }") & + awk "/^${pkg//+/\\+}/ { found = 1 } /^[0-9]+/ { if (found) { print \$0; exit } }") oldsize=$(apk info --repositories-file $tmpdir/repositories --size $_pkgname | \ - awk '/^[0-9]+/ { print $0 }' | head -1) & - wait + awk '/^[0-9]+/ { print $0 }' | head -1) if [ "$oldsize" = "$newsize" ]; then msg "No size differences for $_pkgname." -- GitLab