summaryrefslogtreecommitdiffstats
path: root/abump.in
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2015-09-28 12:33:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-28 14:39:27 +0200
commitdeb5b0091b54513ba6c02687884a88ea1b725aef (patch)
tree6892822c0f4a59093df468c06412969fdcb15748 /abump.in
parentea8ab0c9205341175ff3808885bf5431d5bbd32b (diff)
downloadabuild-deb5b0091b54513ba6c02687884a88ea1b725aef.tar.bz2
abuild-deb5b0091b54513ba6c02687884a88ea1b725aef.tar.xz
abump: ability to override abuild command
Diffstat (limited to 'abump.in')
-rw-r--r--abump.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/abump.in b/abump.in
index a6fa726..c8c2d7d 100644
--- a/abump.in
+++ b/abump.in
@@ -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"