aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-maintainer
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-20 18:11:43 +0000
committermerakor <cem@ckyln.com>2020-04-20 18:11:43 +0000
commit7a4fcf554c75c5f73bf51f840e72ba7fbedb7e60 (patch)
tree4e0c47c6a2d14295a7f48553793d11008fed24cc /contrib/kiss-maintainer
parent395d0f1a6019c176de72ce3aa30f57eb810b0d9b (diff)
downloadcpt-7a4fcf554c75c5f73bf51f840e72ba7fbedb7e60.tar.gz
contrib: additions, usage, simplifications
FossilOrigin-Name: 8d7d95914b0d1d981416c4fe1511987af3dd0170d436ee2176de9cb279988dd0
Diffstat (limited to 'contrib/kiss-maintainer')
-rwxr-xr-xcontrib/kiss-maintainer1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/kiss-maintainer b/contrib/kiss-maintainer
index 5039002..2c2d3ed 100755
--- a/contrib/kiss-maintainer
+++ b/contrib/kiss-maintainer
@@ -1,6 +1,7 @@
#!/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) ||: