aboutsummaryrefslogtreecommitdiff
path: root/admin/getmaintbuilds
blob: ea665c959b9a556afa82f49ae1fa0025ded6b457 (plain)
1
2
3
4
5
6
7
8
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