diff options
Diffstat (limited to 'abump.in')
-rw-r--r-- | abump.in | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" -- "$@") |