blob: 2c2d3edddd0a355a0de7c5d25441a3362db870ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh -ef
#
# kiss-maintainer - find the maintainer of a package.
[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ;}
kiss s "$1" | while read -r repo; do cd "$repo"
m=$(git log -1 version 2>/dev/null) ||:
m=${m##*Author: }
m=${m%%>*}
[ "$m" ] || continue
printf '=> %s\n%s>\n' "$PWD" "$m"
done
|