summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-01-09 11:17:13 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-01-09 11:17:39 +0200
commit8bddd02b10cd581f0f0966375a93180b0cb2bb33 (patch)
tree22f1db8ef6170bf5a611db2fbb713fdf6108758d
parent971504f0ecfa59a03f30f9abe1b582c35a589590 (diff)
downloadabuild-8bddd02b10cd581f0f0966375a93180b0cb2bb33.tar.bz2
abuild-8bddd02b10cd581f0f0966375a93180b0cb2bb33.tar.xz
abuild: remove noarch files from CARCH target direct
this is where it is built too
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index b7e3dcc..d0bce33 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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