From: Sandro Santilli Date: Wed, 13 Apr 2011 07:41:53 +0000 (+0000) Subject: Add script to be used with git-svn --authors-prog X-Git-Tag: 2.0.0alpha1~1782 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=deef6963cd437d62b0fb09d26968a97251831986;p=postgis Add script to be used with git-svn --authors-prog git-svn-id: http://svn.osgeo.org/postgis/trunk@7020 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/author.sh b/author.sh new file mode 100755 index 000000000..c25035f67 --- /dev/null +++ b/author.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +if test x"$1" = "x"; then + echo "Usage: $0 " >&2 + exit 1 +fi + +authors_file="`dirname $0`/authors.svn" + +if test ! -e "${authors_file}"; then + echo "Authors file ${authors_file} does not exist" >&2 + exit 1 +fi + +nick="$1" +grep "^${nick}" "${authors_file}" | cut -d: -f2