hhorak / centos / cbs-tools

Forked from centos/cbs-tools 4 years ago
Clone

Blame scripts/who.sh

Thomas Oulevey 5507cc
#!/bin/bash
Thomas Oulevey 5507cc
Thomas Oulevey 5507cc
for i in `koji list-tags $1*candidate`
Thomas Oulevey 5507cc
do 
Thomas Oulevey 5507cc
	USERS="$USERS `koji list-tagged --quiet $i  | rev | cut -d " " -f 1 | rev | uniq | tr '\n' ' '`"
Thomas Oulevey 5507cc
	TMP=`echo ${i} | cut -d "-" -f 1`
Thomas Oulevey 5507cc
	SIG=${TMP%?}
Thomas Oulevey 5507cc
done
Thomas Oulevey 5507cc
Thomas Oulevey 5507cc
echo $1:`echo $USERS|tr " " "\n"|sort|uniq|tr "\n" " "`