diff options
Diffstat (limited to 'buildrepo')
-rwxr-xr-x | buildrepo | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |