abuild: remove noarch files from CARCH target direct

this is where it is built too
This commit is contained in:
Timo Teräs 2017-01-09 11:17:13 +02:00
parent 971504f0ec
commit 8bddd02b10
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ cleanpkg() {
rm -f "$REPODEST/$repo/src/$pkgname-$pkgver-r$pkgrel.src.tar.gz"
for i in $allpackages; do
subpkg_set "$i"
rm -f "$REPODEST/$repo/$subpkgarch/$subpkgname-$pkgver-r$pkgrel.apk"
rm -f "$REPODEST/$repo/${subpkgarch/noarch/$CARCH}/$subpkgname-$pkgver-r$pkgrel.apk"
done
subpkg_unset