Commit 034e36f7 authored by Timo Teräs's avatar Timo Teräs

checkapk: treat subpackages items as colon separated lists

fixes to pick correct subpackage name when "pkg:split:arch" syntax
is used.
parent 8302c065
...@@ -50,7 +50,7 @@ tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX) ...@@ -50,7 +50,7 @@ tmpdir=$(mktemp -d -t checkpkg-script.XXXXXX)
cd "$tmpdir" || die "failed to create temp dir" cd "$tmpdir" || die "failed to create temp dir"
for i in $pkgname $subpackages; do for i in $pkgname $subpackages; do
_pkgname=${i%:*} _pkgname=${i%%:*}
pkg=${_pkgname}-$pkgver-r$pkgrel pkg=${_pkgname}-$pkgver-r$pkgrel
pkgfile=${pkg}.apk pkgfile=${pkg}.apk
repodir=${startdir%/*} repodir=${startdir%/*}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment