Commit 9a740d05 authored by Dubiousjim's avatar Dubiousjim Committed by Natanael Copa

abump: verify that we're in git tree

parent 8198ded8
......@@ -95,6 +95,7 @@ cvelist=
[ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment