summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildrepo.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildrepo.in b/buildrepo.in
index c211789..d719c34 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -22,9 +22,9 @@ usage() {
listpackages() {
- cd "$aportsdir/$1"
for i in */APKBUILD; do
- APKBUILD=$i abuild listpkg
+ cd "$aportsdir"/$1/${i%/*}
+ abuild listpkg
done
}