cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit d3cf21083f006d858a5ec39dbb870cb7879c5fd8
parent edc9670ad3c16db85f9233d72487796073cff468
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu, 19 Dec 2019 08:32:44 +0000

kiss-maintainers: Fix bugs

Diffstat:
Mcontrib/kiss-maintainer | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/contrib/kiss-maintainer b/contrib/kiss-maintainer @@ -1,8 +1,12 @@ -#!/bin/sh -e +#!/bin/sh -ef # # kiss-maintainer - find the maintainer of a package. kiss s "$1" >/dev/null && { - cd "$(kiss s "$1")" - git log . 2>/dev/null | grep -F Author: | sort -u + for repo in $(kiss s "$1"); do cd "$repo" + maintainers=$(git log . 2>/dev/null | grep -F Author: | sort -u) + + [ "$maintainers" ] && + printf '=> %s\n%s\n' "$PWD" "$maintainers" + done }