Skip to content
Snippets Groups Projects
Commit 49a04866 authored by Natanael Copa's avatar Natanael Copa
Browse files

checkapk: find package when REPODEST is used

parent 2f68278f
No related merge requests found
......@@ -33,9 +33,10 @@ for i in $pkgname $subpackages; do
_pkgname=${i%:*}
pkg=${_pkgname}-$pkgver-r$pkgrel
pkgfile=${pkg}.apk
repo=${startdir##*/}
repodir=${startdir%/*}
repo=${repodir##*/}
for filepath in "$PKGDEST"/$pkgfile "$REPODEST"/$repo/$pkgfile "$startdir"/$pkgfile; do
for filepath in "$PKGDEST"/$pkgfile "$REPODEST"/$repo/$CARCH/$pkgfile "$startdir"/$pkgfile; do
if [ -f "$filepath" ]; then
break
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment