diff options
author | Dubiousjim <dubiousjim@gmail.com> | 2013-07-05 00:21:32 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-09 07:10:27 +0000 |
commit | 9a740d05aab3c8e92e2315d2d3210e3306202665 (patch) | |
tree | 541de27704f0e40eecad78305101ab0dd270dbec | |
parent | 8198ded868d4b7b98f8d06a2f0f0d90eaf2ad9da (diff) | |
download | abuild-9a740d05aab3c8e92e2315d2d3210e3306202665.tar.gz abuild-9a740d05aab3c8e92e2315d2d3210e3306202665.tar.bz2 abuild-9a740d05aab3c8e92e2315d2d3210e3306202665.tar.xz abuild-9a740d05aab3c8e92e2315d2d3210e3306202665.zip |
abump: verify that we're in git tree
-rwxr-xr-x | abump.in | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |