summaryrefslogtreecommitdiff
path: root/buildrepo
diff options
context:
space:
mode:
Diffstat (limited to 'buildrepo')
-rwxr-xr-xbuildrepo3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildrepo b/buildrepo
index fe24d8f..33f08e5 100755
--- a/buildrepo
+++ b/buildrepo
@@ -36,6 +36,7 @@ purge() {
trap 'rm -f "$tmp"; exit 1' INT
( listpackages "$1") >$tmp
ls *.apk 2>/dev/null | grep -v -w -f $tmp | xargs rm 2>/dev/null
+ return 0
}
build() {
@@ -46,7 +47,7 @@ build() {
for i in */APKBUILD; do
( cd ${i%/*} || return 1
- PKGDEST="$repodir/$repo" abuild -k -r || return 1
+ REPODEST="$repodir" abuild -k -r || return 1
) || return 1
done
cd "$repodir/$repo"