abuild: exit with error if pkgrel is unset

This commit is contained in:
Natanael Copa 2014-01-13 12:36:07 +00:00
parent af19c757de
commit 8d6009110c
1 changed files with 1 additions and 1 deletions

View File

@ -1921,7 +1921,7 @@ APKBUILD=$(readlink -f "$APKBUILD")
startdir="${APKBUILD%/*}"
srcdir=${srcdir:-"$startdir/src"}
pkgbasedir=${pkgbasedir:-"$startdir/pkg"}
pkgrel=0
repo=${startdir%/*}
repo=${repo##*/}