diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-22 09:08:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-22 09:08:50 +0000 |
commit | 200eb22b52f6775b9a7ba69ca86c5d045fc9788c (patch) | |
tree | 478896c9ca525fc18d999711c4984f722a828051 /buildrepo | |
parent | df4dd0e6889b2f486f40c379c7175287926cd8a1 (diff) | |
download | abuild-200eb22b52f6775b9a7ba69ca86c5d045fc9788c.tar.gz abuild-200eb22b52f6775b9a7ba69ca86c5d045fc9788c.tar.bz2 abuild-200eb22b52f6775b9a7ba69ca86c5d045fc9788c.tar.xz abuild-200eb22b52f6775b9a7ba69ca86c5d045fc9788c.zip |
abuild: added REPODEST
This will let user specify a directory where the repositories are.
Setting REPODEST will override PKGDEST.
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" |