summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-10 09:18:08 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-02-01 11:49:40 +0100
commitab79e3fe6f2664d1aed5722c4ee6168dac8e9966 (patch)
tree1204d8a0f0c1108fd5d3cea04fef1741ea230357
parent4442efff6e3f9eda6db7e4150f206fa6b3011ccb (diff)
downloadabuild-ab79e3fe6f2664d1aed5722c4ee6168dac8e9966.tar.bz2
abuild-ab79e3fe6f2664d1aed5722c4ee6168dac8e9966.tar.xz
abuild: fix location of built apk
we need to replace noarch with CARCH for now
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index faded79..03d0a09 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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