summaryrefslogtreecommitdiffstats
path: root/abump.in
diff options
context:
space:
mode:
Diffstat (limited to 'abump.in')
-rwxr-xr-xabump.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/abump.in b/abump.in
index cf6b5eb..a344780 100755
--- a/abump.in
+++ b/abump.in
@@ -95,6 +95,7 @@ cvelist=
fixes=
[ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR"
+git rev-parse 2>/dev/null || die "not in a git tree"
args=`getopt -o s:Rkqh --long security:,recursive,keep,quiet,help -n "$prog" -- "$@"`
if [ $? -ne 0 ]; then