forked from kiss-community/kiss
20 lines
437 B
Bash
Executable File
20 lines
437 B
Bash
Executable File
#!/bin/sh -ef
|
|
# Find the maintainer of a package
|
|
|
|
# CRUX style usage using the current directory as the name of the package to be
|
|
# operated on.
|
|
[ "$1" ] || {
|
|
export KISS_PATH=${PWD%/*}:$KISS_PATH
|
|
set -- "${PWD##*/}"
|
|
}
|
|
|
|
kiss s "$@" | sort -u | 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
|