summaryrefslogtreecommitdiff
path: root/abump.in
diff options
context:
space:
mode:
Diffstat (limited to 'abump.in')
-rw-r--r--abump.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/abump.in b/abump.in
index ee2df1e..d88d032 100644
--- a/abump.in
+++ b/abump.in
@@ -76,8 +76,8 @@ fixes #${fixes#\#}
$ABUILD $abuild_opts checksum all
- git add APKBUILD
- git commit -m"$message"
+ $ABUILD_GIT add APKBUILD
+ $ABUILD_GIT commit -m"$message"
)
rc=$?
if [ $rc -gt 0 ]; then
@@ -111,7 +111,8 @@ cvelist=
fixes=
[ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR"
-git rev-parse 2>/dev/null || die "not in a git tree"
+[ "$ABUILD_GIT" != "true" ] || die "can't locate git command"
+$ABUILD_GIT rev-parse 2>/dev/null || die "not in a git tree"
args=$(getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help \
-n "$program" -- "$@")