diff options
-rw-r--r-- | checkapk.in | 2 |
1 files changed, 1 insertions, 1 deletions
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%/*} |