buildrepo: set pkgrel to 0 by default

This commit is contained in:
Natanael Copa 2014-01-13 12:32:33 +00:00
parent abfc6c29ef
commit af19c757de

View File

@ -53,7 +53,7 @@ listpackages() {
cd "$aportsdir/$repo"/${i%/*} || return 1 cd "$aportsdir/$repo"/${i%/*} || return 1
pkgname= pkgname=
pkgver= pkgver=
pkgrel= pkgrel=0
subpackages= subpackages=
arch= arch=
linguas= linguas=
@ -94,7 +94,7 @@ list_needbuild() {
cd "$aportsdir/$repo"/${apkbuild%/*} || return 1 cd "$aportsdir/$repo"/${apkbuild%/*} || return 1
pkgname= pkgname=
pkgver= pkgver=
pkgrel= pkgrel=0
subpackages= subpackages=
arch= arch=
. ./APKBUILD . ./APKBUILD