abuild: fix location of built apk

we need to replace noarch with CARCH for now
This commit is contained in:
Natanael Copa 2016-11-10 09:18:08 +01:00
parent 4442efff6e
commit ab79e3fe6f
1 changed files with 1 additions and 1 deletions

View File

@ -1696,7 +1696,7 @@ apk_up2date() {
else
s="$startdir/${i##*/}"
fi
if [ "$s" -nt "$REPODEST/$repo/$pkgarch/$pkgname-$pkgver-r$pkgrel.apk" ]; then
if [ "$s" -nt "$REPODEST/$repo/${pkgarch/noarch/$CARCH}/$pkgname-$pkgver-r$pkgrel.apk" ]; then
return 1
fi
done