abump: ability to override abuild command

This commit is contained in:
Eivind Uggedal 2015-09-28 12:33:40 +00:00 committed by Natanael Copa
parent ea8ab0c920
commit deb5b0091b
1 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ if ! [ -f "$datadir/functions.sh" ]; then
fi
. "$datadir/functions.sh"
: ${ABUILD:="abuild"}
# version bump packages
do_bump() {
@ -67,7 +69,7 @@ fixes #${fixes#\#}
-e "s/^pkgrel=.*/pkgrel=0/" \
APKBUILD
abuild $abuild_opts checksum all
$ABUILD $abuild_opts checksum all
git add APKBUILD
git commit -m"$message"