From 53b17143d2414589d2481f60748180dcdb0197f0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 23 Jul 2009 09:46:36 +0000 Subject: abuild: use APKINDEX.tar.gz rather than APK_INDEX.gz --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 3878831..b892648 100755 --- a/abuild.in +++ b/abuild.in @@ -465,6 +465,7 @@ apkcache() { if ! apk_up2date || [ -n "$force" ]; then sanitycheck && builddeps && clean && fetch && unpack && rootpkg || return 1 fi + local apk mkdir -p "$apkcache" || return 1 cd "$apkcache" @@ -610,7 +611,7 @@ cache_up2date() { local i apk for i in $pkgname $subpackages; do apk="${i%:*}-$pkgver-r$pkgrel.apk" - [ "$apkcache"/APK_INDEX.gz -nt "$apkcache"/$apk ] || return 1 + [ "$apkcache"/APKINDEX.tar.gz -nt "$apkcache"/$apk ] || return 1 done return 0 } -- cgit v1.2.3