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 d719c34..c211789 100755
--- a/buildrepo.in
+++ b/buildrepo.in
@@ -22,9 +22,9 @@ usage() {
listpackages() {
+ cd "$aportsdir/$1"
for i in */APKBUILD; do
- cd "$aportsdir"/$1/${i%/*}
- abuild listpkg
+ APKBUILD=$i abuild listpkg
done
}