buildrepo: fix previous commit

This commit is contained in:
Natanael Copa 2010-11-02 09:39:34 +00:00
parent 5cde86ff29
commit c5b9e2c6dc

View File

@ -45,7 +45,7 @@ build() {
# to rebuild. By doing this we might save us for rebuilding
# needed when running 'abuild -R'
for i in */APKBUILD; do
[ -f "$i" ] || continue
[ -f "$aportsdir/$repo/$i" ] || continue
export REPODEST="$repodir"
cd "$aportsdir/$repo"/${i%/*} || return 1
if abuild -k -q up2date 2>/dev/null; then