From 034e36f72164c105013a6565c091f16df848d146 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 27 Jul 2016 14:50:15 +0300 Subject: checkapk: treat subpackages items as colon separated lists fixes to pick correct subpackage name when "pkg:split:arch" syntax is used. --- checkapk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkapk.in b/checkapk.in index 6887961..6998868 100644 --- a/checkapk.in +++ b/checkapk.in @@ -50,7 +50,7 @@ tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX) cd "$tmpdir" || die "failed to create temp dir" for i in $pkgname $subpackages; do - _pkgname=${i%:*} + _pkgname=${i%%:*} pkg=${_pkgname}-$pkgver-r$pkgrel pkgfile=${pkg}.apk repodir=${startdir%/*} -- cgit v1.2.3-70-g09d2