aboutsummaryrefslogtreecommitdiff
path: root/admin/getmaintbuilds
diff options
context:
space:
mode:
Diffstat (limited to 'admin/getmaintbuilds')
-rwxr-xr-xadmin/getmaintbuilds9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/getmaintbuilds b/admin/getmaintbuilds
new file mode 100755
index 0000000..ea665c9
--- /dev/null
+++ b/admin/getmaintbuilds
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+source ~/sbostuff/sbostuff.sh
+cd $SBO_GITROOT || exit 1
+if echo "$*" | grep -q '@'; then
+ echo $( git grep 'EMAIL="'"$*"'"' '*/*/*.info' | cut -d/ -f2 )
+else
+ echo $( git grep 'MAINTAINER="'"$*"'"' '*/*/*.info' | cut -d/ -f2 )
+fi