mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 07:00:28 +00:00
buildrepo: do not error if there are no packages in repo
This commit is contained in:
parent
f9b62b89a6
commit
5cde86ff29
@ -39,12 +39,13 @@ all_exist() {
|
||||
build() {
|
||||
local repo="$1" i needbuild
|
||||
|
||||
cd "$aportsdir/$repo" || return 1
|
||||
cd "$aportsdir/$repo" || return 0
|
||||
|
||||
# first we try copy everything possible and find out which we need
|
||||
# to rebuild. By doing this we might save us for rebuilding
|
||||
# needed when running 'abuild -R'
|
||||
for i in */APKBUILD; do
|
||||
[ -f "$i" ] || continue
|
||||
export REPODEST="$repodir"
|
||||
cd "$aportsdir/$repo"/${i%/*} || return 1
|
||||
if abuild -k -q up2date 2>/dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user