From c5b9e2c6dc4ca41aabc96970599c52f8a3a13997 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 2 Nov 2010 09:39:34 +0000
Subject: [PATCH] buildrepo: fix previous commit

---
 buildrepo.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildrepo.in b/buildrepo.in
index 961d245e8a19..0fb7c1219315 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -45,7 +45,7 @@ build() {
 	# to rebuild. By doing this we might save us for rebuilding 
 	# needed when running 'abuild -R'
 	for i in */APKBUILD; do
-		[ -f "$i" ] || continue
+		[ -f "$aportsdir/$repo/$i" ] || continue
 		export REPODEST="$repodir"
 		cd "$aportsdir/$repo"/${i%/*} || return 1
 		if abuild -k -q up2date 2>/dev/null; then
-- 
GitLab